greptilian logo

IRC log for #virtualJUG, 2016-03-30

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
05:51 mmatloka joined #virtualJUG
08:45 edburns joined #virtualJUG
10:31 RedEnergy joined #virtualJUG
10:56 millrossjez joined #virtualJUG
14:37 blvin joined #virtualJUG
14:39 Jens81 joined #virtualJUG
14:42 Ehsanullah joined #virtualJUG
14:44 radcortez joined #virtualJUG
14:44 radcortez left #virtualJUG
14:45 radcortez joined #virtualJUG
14:45 radcortez hi guys
14:45 radcortez we are starting very soon the next session
14:47 ejan joined #virtualJUG
14:49 embarros joined #virtualJUG
14:50 ehja joined #virtualJUG
14:52 Lazurowy joined #virtualJUG
14:52 Lazurowy joined #virtualJUG
14:53 radcortez we are live!
14:54 ehja joined #virtualJUG
14:55 radcortez you can send your questions live!
14:56 ejan What's the best way of implementing equals() and hashCode() for a JPA entity that uses auto-generated primary key since, by definition, the value of its primary key will not be known until after the entity is persisted?
14:58 radcortez hi ejan, ty for your question, I'll relay it in a bit
15:01 sebi joined #virtualJUG
15:03 sblanc joined #virtualJUG
15:05 blvin joined #virtualJUG
15:08 embarros joined #virtualJUG
15:10 radcortez send us more questions :)
15:13 ejan May be still somewhat unrelated to the current discussion but definitely a question that every Java EE developer struggles with -- here goes:
15:13 ejan What's the recommended / best practice for using configuration in Java EE applications (considering there's no spec addressing Java EE configuration today)? Consider, for example, how we can flexibly load configuration from various .properties files in Spring without writing any code. How can we achieve the same level of flexibility in Java EE apps today when it comes to configuration? Also, when do you think we'll finally have a
15:13 ejan spec address standardization of configuration in Java EE apps?
15:14 radcortez there was a spec about configuration
15:14 radcortez I think it got canceled / delay
15:14 radcortez I'll ask :)
15:15 ejan You're right -- unfortunately that spec didn't get a lot of traction
15:16 sblanc ejan: a "dirty/hacky" way is to use maven's Resource plugin and the filtering , and use profiles
15:16 ejan The danger of relying on a business key in any persistence scenario is that you cannot guarantee that the key will not change for the life of the record -- and that comes with a lot of side effects if you ever have to change the business key
15:16 ejan I like Antonio's idea of having a UUID acting as a row ID -- that's still a synthetic key and totally under our control and need not be visible to the users.
15:17 Jens81 joined #virtualJUG
15:17 radcortez yeah :)
15:20 sblanc https://twitter.com/rafabene should be able to answer some of the deltaspike questions ;)
15:21 radcortez cool :D
15:25 sblanc and swarm , using Forge of course ;)
15:26 radcortez any more questions guys?
15:26 radcortez we will wrap
15:28 ejan Antonio's opinion on domain objects -- do you prefer objects with simple getters/setters and validation as a separate step (this would also include using Validation API) or do you prefer objects that are always in a consistent state (this arguably creates some issues with frameworks like when you want to bind objects to JSON, frameworks will require getters/setters, no-arg constructor etc.). So consistency vs. convenience I think
15:28 ejan but what's your preference/opinion and why?
15:30 ejan What's the best option for doing Web UI in Java EE world today? Would you say JSF, or wait for Java EE MVC :) , or use Angular et. al?
15:30 radcortez Angular I guess, Antonio just asnwered :D
15:30 ejan Yep, crissed crossed :)
15:31 ejan LOL
15:31 ejan that broke the Internt
15:31 radcortez :D
15:31 radcortez lol
15:34 ejan That's our guy -- the best architects always answer this way 'well, it depends...' :)
15:36 ejan In addition Batch API is mostly XML, yikes! Plus it looks mostly like a copy of Spring Batch. Double Yikes!!
15:37 gsson A problem isn't interesting unless that's the answer :)
15:37 ejan :)
15:41 radcortez :D
15:44 sblanc we can start a new hashtag #lessboatsmorebrains ;)
15:44 ejan Thanks so much guys for arranging this!
15:46 radcortez ty!
16:44 _ollie joined #virtualJUG
18:28 branscha joined #virtualJUG
20:04 branscha joined #virtualJUG
20:35 branscha joined #virtualJUG
21:03 branscha joined #virtualJUG
21:16 branscha joined #virtualJUG
22:16 branscha joined #virtualJUG

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

virtualjug.com