greptilian logo

IRC log for #virtualJUG, 2015-06-25

virtualjug.com

| Channels | #virtualJUG index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:57 pdurbin monksy: did that help?
03:43 sdd joined #virtualJUG
06:23 millrossjez joined #virtualJUG
06:25 mmatloka joined #virtualJUG
06:47 jeremy_prime joined #virtualJUG
07:11 _ollie joined #virtualJUG
07:43 shelajev joined #virtualJUG
09:04 shelajev_ joined #virtualJUG
09:10 _ollie1 joined #virtualJUG
09:23 shelajev joined #virtualJUG
10:05 shelajev_ joined #virtualJUG
10:41 shelajev joined #virtualJUG
11:16 _ollie joined #virtualJUG
11:53 shelajev joined #virtualJUG
12:14 jeremy_prime joined #virtualJUG
13:01 shelajev_ joined #virtualJUG
13:12 jeremy_prime joined #virtualJUG
13:16 ThomasD joined #virtualJUG
13:18 shelajev_ Spring DATA!
13:18 pdurbin shelajev_: hmm? :)
13:39 ThomasD Yo hi Oleg!  I'll support Ollis talk a bit by answering questions in the chat :)
13:42 ThomasD joined #virtualJUG
13:58 darkandark90 joined #virtualJUG
14:11 shelajev_ that's awesome!
14:11 shelajev_ Thanks Thomas!
14:59 shelajev joined #virtualJUG
15:04 staleks joined #virtualJUG
15:09 Faulchen joined #virtualJUG
15:17 _ollie left #virtualJUG
15:25 mselender joined #virtualJUG
15:28 _ollie joined #virtualJUG
15:31 sjmaple 30 mins till a vJUG session! Yay :D
15:32 ThomasD ok :)
15:36 edburns joined #virtualJUG
15:38 HarmeetSingh joined #virtualJUG
15:40 Traivor joined #virtualJUG
15:41 _ollie shelajev: how much time do we actually have?
15:44 ligboo joined #virtualJUG
15:48 shelajev hey, Oliver!
15:48 shelajev do you mean the time of the session?
15:49 _ollie yes, how much of it supposed to be presentation?
15:50 shelajev 60 minutes
15:51 shelajev but that's not a hard requirement
15:51 _ollie Oh no worries, I just wanted to get a rough idea.
15:52 vc joined #virtualJUG
15:53 Kev joined #virtualJUG
15:55 HarmeetSingh Hello @Vjug team
15:55 HarmeetSingh hello to all
15:56 ArunM joined #virtualJUG
15:57 Maldivia howdy
15:57 vikasgoyat joined #virtualJUG
15:58 tstout joined #virtualJUG
15:58 shelajev hello!
15:58 vc hello
15:59 kervin joined #virtualJUG
15:59 vikasgoyat HI All
15:59 robinsonmark joined #virtualJUG
15:59 HarmeetSingh waiting waiting waiting waiting waiting  :D
16:00 Ralfm joined #virtualJUG
16:00 Alton joined #virtualJUG
16:00 mil35 joined #virtualJUG
16:00 HarmeetSingh hey @simon when the session start ?
16:00 pathfinder2104 joined #virtualJUG
16:01 daincredibleholg joined #virtualJUG
16:02 markdavison joined #virtualJUG
16:02 rjot joined #virtualJUG
16:02 bubbles joined #virtualJUG
16:03 bubbles bing
16:03 user12345 joined #virtualJUG
16:03 shelajev right now :) there's a 30 seconds delay
16:04 pathfinder2104 joined #virtualJUG
16:05 ThomasD okay, after refresh I can see the stream :)
16:05 pm771 joined #virtualJUG
16:05 cblack joined #virtualJUG
16:06 ligboo joined #virtualJUG
16:06 monksy thats been happening for quite a while (you have to refresh when the stream "starts")
16:07 ArunM joined #virtualJUG
16:07 pathfinder2104 joined #virtualJUG
16:07 Sumittr joined #virtualJUG
16:07 robinsonmark joined #virtualJUG
16:07 markdavison joined #virtualJUG
16:07 pathfinder2104 Hi all
16:08 kossmoboleat joined #virtualJUG
16:08 sjmaple Hey everyone!
16:08 CalamarBicefalo joined #virtualJUG
16:09 sjmaple yeh, I'm not sure how that can easily be fixed... will look into it
16:09 ThomasD We need virtual cheer sounds :)
16:09 HarmeetSingh hey @simon how was @devox going?
16:09 sjmaple To follow Oliver, he's on twitter at http://twitter.com/olivergierke
16:09 ThomasD huhu
16:09 shelajev shout out to Thomas! :)
16:10 shelajev and Michael Hunger from Neo4j!
16:10 sjmaple @HarmeetSingh it was great! both UK and PL were amazing fun! :)
16:10 HarmeetSingh when i seen videos of @devox at youtube, it was really excite me.
16:10 patbaumgartner joined #virtualJUG
16:12 StefanoIceCubeR joined #virtualJUG
16:12 pathfinder2104 joined #virtualJUG
16:13 vikasgoyat joined #virtualJUG
16:14 pathfinder2104 joined #virtualJUG
16:16 pm771 Where does Hadoop fit in the diagram?
16:16 Jamesy joined #virtualJUG
16:17 kossmoboleat left #virtualJUG
16:19 Laks joined #virtualJUG
16:19 ThomasD well hadoop is not a database (but rather a framework for distributed data processing)… but there is HBase which is a columnar datastore based on hadoop - so one could say that hbase it fits into the non-relational area…
16:19 kossmoboleat joined #virtualJUG
16:19 pathfinder2104 I think you can use Cassandra and Mongo DB with  hadoop
16:19 pathfinder2104 right?
16:21 pm771 thx
16:22 sjmaple if you're interested in Cassandra... :) http://www.meetup.com/virtualJUG/events/223491297/
16:22 pathfinder2104 thanx :) :)
16:23 sjmaple only just added it today
16:23 HarmeetSingh yup, i got it :)
16:23 mudkip1123 joined #virtualJUG
16:24 ThomasD you can pull in data from hdfs into cassandra and mongodb provides a connector to interact with hadoop
16:24 pathfinder2104 joined #virtualJUG
16:24 ThomasD for mongodb you can have a look at this presentation; https://www.mongodb.com/presentations/webinar-using-hadoop-mongodb-together?_ga=1.161289341.1510890496.1372754467
16:25 gauravbrills joined #virtualJUG
16:30 HarmeetSingh the repositories create inner classes for implementation?
16:31 HarmeetSingh the repositories create inner classes for DAO implementation?
16:32 ThomasD the actual store specific repository implementation are public classes… like e.g.: org.springframework.data.jpa.repos​itory.support.SimpleJpaRepository, org.springframework.data.mongodb.repo​sitory.support.SimpleMongoRepository
16:33 ThomasD but you don't need to interact with them directly … as Oliver will show in a few minutes :)
16:33 HarmeetSingh But these repositories are interfaces, how they provide implementations
16:33 HarmeetSingh ok @ThomasD :)
16:33 ThomasD wait and be surprised :)
16:34 artentego joined #virtualJUG
16:35 max5599 joined #virtualJUG
16:36 artentego left #virtualJUG
16:37 jeremy_prime joined #virtualJUG
16:38 Cucu joined #virtualJUG
16:38 sjmaple that constructor signature looks really weird without an access modifier
16:38 ThomasD @HarmeetSignh … the magic trick is that we dynamically create a proxy (JDK DynamicProxy) that implements the repository interface which intercepts all calls to the repository and propagates them either to the appropriate store specific implementation class or we generate a query on the fly … more on that in a few minutes :)
16:38 HarmeetSingh joined #virtualJUG
16:39 Cucu can the slide be more focused, it is blurry
16:40 gauravbrills this is still a integration test can we do it without boot loading the whole context
16:40 sjmaple Cucu: click on the cog and update your video quality
16:40 mudkip1123 left #virtualJUG
16:40 sjmaple crank it up to HD if your interwebs allow
16:41 pathfinder2104 @Cucu I thought it's only me
16:41 pathfinder2104 I am aslo facing the same issue
16:41 gauravbrills I use spring data and test via this way with spring boot but it takes tie for boot to load everything up should be a faster way /?
16:41 pathfinder2104 I tried 480P but not working
16:41 sjmaple would you like font a bit bigger maybe?
16:42 pathfinder2104 yes please
16:42 HarmeetSingh @pathfinder2104 relod the page again
16:42 MiBi joined #virtualJUG
16:43 Cucu better thanks
16:43 pm771 It is better
16:43 ThomasD you should have a look at context management and caching int he reference documentation on spring testing: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/testing.html#testing-ctx-management
16:43 dbrimley joined #virtualJUG
16:43 pathfinder2104 joined #virtualJUG
16:44 sjmaple cool!
16:44 pathfinder2104 yea
16:44 pathfinder2104 :)
16:44 pathfinder2104 thanx
16:45 Miit joined #virtualJUG
16:45 gauravbrills ahh ok thomas will try that hope I can wire it up in a spring boot app too
16:46 HarmeetSingh its really cool
16:47 ThomasD with respect to speeding up unit tests in a Spring Boot app you could also have a look at: http://stackoverflow.com/questions/28123299/spring-boot-module-based-integration-testing
16:51 HarmeetSingh STS provide really rich auto suggestions for @SpringData
16:51 ThomasD yes, indeed :)
16:52 Miit Oliver, what about performance optimization and testing of this?
16:52 ThomasD @Milit can you be more specifc?
16:53 ThomasD the query is only generated once … and it's basically registered with the datastore specific "prepared statement" like functionality … in case of JPA we generate a Jpa CriteriaQuery once and reuse that with different parameters for subsequent method invocations
16:54 ThomasD you can also apply the Spring @Cache caching here if you like
16:54 HarmeetSingh Is it also possible to write native queries?
16:54 ThomasD sure
16:54 ThomasD @Query
16:54 HarmeetSingh oh, really ..
16:54 ThomasD List<User> findAllUsersWithCustomQuery()…
16:56 pm771 Where are the examples? On GitHub?
16:56 ThomasD in a Repository<User,Long> looks up a query (in store specific properties files like for jpa e.g.: jpa-named-queries.proeprties or use the store specific facilities for loading queries -> like orm.xml in case of hibeernate)
16:56 mselender joined #virtualJUG
16:56 ksywka joined #virtualJUG
16:56 ThomasD the key for the query in the example would be User.findAllUsersWithCustomQuery
16:57 ThomasD There is an official spring-data-examples repository on github: https://github.com/spring-projects/spring-data-examples
16:58 ThomasD you can find all examples and demos for some special features in there :)
16:58 daincredibleholg joined #virtualJUG
16:58 pm771 @ThomasD - Thanks
16:59 HarmeetSingh In the Spring-Data-Neo4J, they provide the "Direction.BOTH" for relationship, but Neo4J have no support regarding bidirectional relationships between nodes, So what actually "Direction.BOTH" is used? Please click on below link:
16:59 HarmeetSingh http://stackoverflow.com/questions/28194784/how-to-implement-a-bidirectional-relationship-in-spring-data-neo4j
16:59 HarmeetSingh http://stackoverflow.com/questions/18166845/naming-convention-for-bidirectional-relationships-in-neo4j-using-spring-data
16:59 tstout joined #virtualJUG
17:01 Miit @ThomasD, sorry was at full screen. Oliver managed to answer the gist.
17:02 ThomasD Regarding Neo4j Direction.BOTH - thats part of their api: http://neo4j.com/docs/2.2.3/javadocs/
17:02 ThomasD http://neo4j.com/docs/2.2.3/javadocs/org/neo4j/graphdb/Direction.html
17:02 gaurvabrills joined #virtualJUG
17:02 ThomasD so that is nothing spring data specific
17:03 Miit @HarmeetSingh, thanks for the links
17:05 ThomasD you can find the starbucks store search example application here: https://github.com/spring-projects/spring-data-examples/tree/master/rest/starbucks
17:07 gauravbrills joined #virtualJUG
17:07 sjmaple coming up to the end, any last questions for Oliver?
17:07 HarmeetSingh welcome @Miit
17:07 jeremy_prime joined #virtualJUG
17:07 sjmaple or for ThomasD :)
17:08 HarmeetSingh yes :)
17:08 gauravbrills ways to extend spring data rest for custom links and endpoints
17:08 HarmeetSingh @Thomas in doc they mention "Defines both incoming and outgoing relationships."
17:08 gauravbrills also versioning support for rest
17:09 gauravbrills and etag support
17:09 ThomasD HAL specification -> http://stateless.co/hal_specification.html
17:09 HarmeetSingh When i use BOTH, there are no Bidirectional relationships are created.
17:11 HarmeetSingh Spring-Data-Neo4J provide any unique generator for generate nodes id unique?
17:13 HarmeetSingh because neo4j manage id with different way, and most of them  recommend generates ids manually.
17:15 ThomasD we recently added support for versioning / etag support in gosling
17:15 ThomasD gosling m1 release
17:16 markdavison joined #virtualJUG
17:16 gauravbrills ahh thomasD any links to show tht
17:16 gauravbrills anyways will check out
17:16 yasmans joined #virtualJUG
17:17 yasmans Is there auto-completion for Intellij Idea?
17:17 gauravbrills implementing spring data rest for our api as of now with boot
17:17 _ollie gauravbrills: https://github.com/spring-projects/spring-data-examples/tree/master/rest/headers
17:17 ThomasD https://github.com/spring-projects/spring-data-examples/tree/master/rest/headers
17:17 ThomasD … to slow :)
17:17 _ollie :)
17:17 ArunM thanks for the brilliant session !!!!
17:18 gauravbrills thx
17:18 _ollie We even updated the reference docs today on that one… http://docs.spring.io/spring-data/rest/docs/current-SNAPSHOT/reference/html/#conditional
17:18 ThomasD :) Thank you too!
17:19 pathfinder2104 thank you all for this session :) :)
17:19 sjmaple in case anyone wants a shirt like the one all of us were wearing, you can get one here (although restrictions on delivery) https://zeroturnaround.com/software/xrebel/trial/tshirt/
17:19 HarmeetSingh Thanks for the excellent session
17:19 gauravbrills thx fr the session Olivier thomas :)
17:19 kossmoboleat Thanks for the session, especially the rest stuff was amazing!
17:20 pathfinder2104 Not available in India :) :)
17:20 HarmeetSingh But i still have doubt in "Direction.BOTH"
17:20 pathfinder2104 that T-Shirt :)
17:20 HarmeetSingh ohh.. its my bad luck
17:21 pathfinder2104 mine too
17:21 pathfinder2104 :)
17:21 HarmeetSingh :)
17:21 pathfinder2104 bye bye guys
17:22 _ollie bye! Thanks for attending!
17:22 HarmeetSingh bye bye @vjug and team
17:34 Traivor left #virtualJUG
17:42 jeremy_prime joined #virtualJUG
18:19 jeremy_prime joined #virtualJUG
18:31 shelajev joined #virtualJUG
19:18 jeremy_prime joined #virtualJUG
19:20 millrossjez joined #virtualJUG
19:22 tstout joined #virtualJUG
19:47 shelajev joined #virtualJUG
19:50 mani_ joined #virtualJUG
19:58 pietruh joined #virtualJUG
20:15 shelajev joined #virtualJUG
20:42 shelajev joined #virtualJUG
20:43 jeremy_prime joined #virtualJUG
21:35 _ederign joined #virtualJUG
21:42 ederign joined #virtualJUG
22:12 _ollie1 joined #virtualJUG

| Channels | #virtualJUG index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

virtualjug.com