greptilian logo

IRC log for #javaee, 2013-09-24

Please see http://irclog.greptilian.com/javaee for which days have been logged.

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

All times shown according to UTC.

Time S Nick Message
00:02 pdurbin2 I guess "New in 3.0" on page 63 of the spec is the best list of what's new in Expression Language (EL) 3: http://download.oracle.com/otndocs/jcp/el-3_0-fr-eval-spec/index.html
00:03 pdurbin2 at the moment he's talking about lambda expressions
00:05 pdurbin2 here's a decent write up: https://weblogs.java.net/blog/swchan2/archive/2013/07/01/standard-deviation-illustration-expression-language-30-servlet-environment
00:10 jieryn joined ##javaee
00:10 pdurbin2 hmm, also https://java.net/projects/el-spec/pages/FeatureList
00:10 jieryn why does javaone lag so bad about getting sessions online.. ugh
00:11 pdurbin2 jieryn: how long does it take?
00:11 whartung WWDC at apple was super good at it this year. They were up really fast, same day Ithink
00:11 pdurbin2 back in a bit
00:12 pdurbin2 left ##javaee
00:13 jieryn it might be weeks, really.. they do not even get the keynotes up same day
00:15 whartung does java one sell out in 20 minutes like WWDC does?
00:24 pdurbin2 joined ##javaee
00:24 pdurbin2 next session: Using MongoDB in a Java Enterprise Application [BOF7857] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=7857
00:25 whartung wow -- you guys run late
00:25 pdurbin2 jeez, this picture I took is a little dark: https://plus.google.com/107770072576338242009/posts/364FeH1nbmB
00:26 pdurbin2 Consilience (the app they're talking about) comes from the same place (IQSS) as the app I work on: http://www.iq.harvard.edu/products
00:27 whartung nice
00:27 pdurbin2 "An amazing new tool that enables you to quickly read, understand, categorize, and derive insights from huge quantities of unstructured text." -- http://consilience.com
00:28 pdurbin2 I've seen demos of it but never down to the Mongo layer. Should be interesting
00:30 whartung well have fun pdurbin, thanks again for the play by play and the links. Gotta run, tty tomorrow.
00:31 pdurbin2 started out by using JPA, switched to Mongo
00:31 pdurbin2 background on the app: General Purpose Computer-Assisted Clustering and Conceptualization | Gary King - http://gking.harvard.edu/files/abs/discov-abs.shtml
00:32 sfisque jieryn, i'd guess because apple actively develops a streaming API (quicktime) and oracle does not
00:37 pdurbin2 hmm, LCE as "local cluster ensemble"
00:39 pdurbin2 they use Derby as a database as well
00:40 pdurbin2 mongo stores the ouput from processing done in R
00:44 pdurbin2 "it's not a search engine, it's a discovery engine"
00:44 pdurbin2 (Consilience, that is)
00:45 sfisque so correct me if i am wrong, but the "big data" model boils down to either "static content stored by key" or "pre-baked query results, stored by key".  i cannot see how key/value storage offers anything outside of caching.  am i missing something?
00:46 pdurbin2 I dunno, I've heard people say "big data" is more about the tools you use. If you're using map reduce, you're doing big data :)
00:48 pdurbin2 why mongodb... on the fly LCE calculations impractical... needed to be pre-calculated and persisted
00:48 sfisque right, but i don't see the value other than delivery of pre-baked data.  is there some tech or design manner that makes this data query-able?
00:48 pdurbin2 need to potentially handle 10 million documents
00:48 sfisque aye but docs == pre-baked
00:49 sfisque i'm assuming
00:49 pdurbin2 derby for read/write user related data
00:49 * sfisque is open to crrection
00:49 pdurbin2 using gridfs
00:49 pdurbin2 http://docs.mongodb.org/manual/core/gridfs/
00:52 pdurbin2 oh, so they still use JPA for mongo
00:53 pdurbin2 using @NoSQL annotation: http://www.eclipse.org/eclipselink/documentation/2.4/jpa/extensions/a_nosql.htm (not sure if that's the right version)
00:55 pdurbin2 hmm, @Embeddable annotation
00:57 pdurbin2 more on the annotations (from their slide): http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/NoSQL/Configuring
00:58 pdurbin2 sfisque: what's being stored are "clusters" of documents, clusters based on various clustering algorithms, implemented in R (if that helps)
01:01 pdurbin2 huh, can do a "composite persistent unit" but they had issues with this
01:02 pdurbin2 they link to Polyglot Persistence: EclipseLink with MongoDB and Derby | Javalobby - http://java.dzone.com/articles/polyglot-persistence-0
01:03 pdurbin2 huh. have to restart Glassfish after modifying Entity
01:03 pdurbin2 they use native query to specify mongo queries
01:04 sfisque of course.  because the container has to pre-build proxies
01:04 pdurbin2 sfisque: so you aren't surprised
01:04 sfisque not at all
01:05 pdurbin2 seems to bother them a bit
01:05 pdurbin2 understandably :)
01:05 sfisque well, the other choice is to restart the app
01:05 sfisque or undeploy/redeploy
01:06 sfisque you can un/redeploy on a live container and it accepts all changes
01:06 pdurbin2 they're talking about using both JPA with mongo and the MongoDB API. that you can use both. they co-exist just fine
01:07 sfisque ah.  how does JPA work with mongo.  isn't mongo an impl of nosql?
01:07 sfisque i guess you can just do all find( type, pk)
01:07 sfisque but why bother accepting the overhead of JPA just for PK calls
01:07 pdurbin2 here's what the api looks like, I guess: http://api.mongodb.org/java/current/com/mongodb/Mongo.html
01:08 pdurbin2 sfisque: sounds like they started with JPA. and tried the MongoDB API later
01:09 sfisque yah, switching connection pool provider would require the app to be restarted, minimally
01:09 pdurbin2 hmm, "GridFS is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB."
01:09 pdurbin2 lots of code on these slides
01:09 pdurbin2 "reading a GridFS File"
01:10 pdurbin2 MongoDB API is wordier than JPA
01:10 pdurbin2 finer level of control than with JPA
01:10 pdurbin2 other mongo peristence libraries: Morphia, Jongo
01:11 pdurbin2 morphia - A type-safe java library for MongoDB - Google Project Hosting - http://code.google.com/p/morphia/
01:11 pdurbin2 Jongo {mongo-java-driver: 'with ease'} - http://jongo.org/
01:13 pdurbin2 ah, so @NoSQL is an EclipseLink thing. it's not in the JPA standard (yet) or anything
01:14 pdurbin2 session over
01:14 pdurbin2 left ##javaee
02:03 Quest joined ##javaee
02:38 Naros joined ##javaee
02:38 Naros left ##javaee
02:53 neuro_sys joined ##javaee
02:54 kobain joined ##javaee
05:12 jenue joined ##javaee
06:04 dangertools joined ##javaee
06:04 dangertools joined ##javaee
06:17 Quest joined ##javaee
06:18 Naros_ joined ##javaee
06:18 Quest hi Naros_
08:21 Fubar^ joined ##javaee
12:14 jieryn joined ##javaee
12:14 jieryn joined ##javaee
12:22 kobain joined ##javaee
13:35 Naros joined ##javaee
13:35 Naros left ##javaee
14:45 raoul- joined ##javaee
15:05 acuzio Hey Quest
15:05 acuzio How are you ?
15:32 kobain joined ##javaee
15:36 pdurbin next session: JSF 2.2 New Features in Context [CON3294] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=3294
15:37 pdurbin with https://twitter.com/edburns
15:37 pdurbin "JSF is all about state" ... 3 kinds:
15:37 pdurbin - UIComponent state
15:38 pdurbin - Model tier state
15:38 pdurbin - Persistence tier state
15:38 pdurbin for stateless JSF, he recommends reading http://www.scribd.com/doc/94007042/Performance-Comparison-Leonardo-Uribe-FINAL-Detailed
15:38 tjsnell ~jsf--
15:39 pdurbin new feature in JSF 2.2: Resource Library Contracts
15:40 * pdurbin looks at https://blogs.oracle.com/arungupta/entry/resource_library_contracts_in_jsf2
15:41 pdurbin "JSF 2.2 defines Resource Library Contracts that allow facelet templates to be applied to an entire application in a reusable and interchangeable manner"
15:46 pdurbin "This is a very powerful feature. Imagine providing different look-and-feel for your website and letting the user choose them, fun eh ?"
15:47 pdurbin demo by https://twitter.com/rogerk09 (I think)
15:47 pdurbin now they're talking about Faces Flows
15:48 pdurbin which was covered in a previous talk: http://irclog.greptilian.com/javaee/2013-09-23#i_24820
15:51 pdurbin "finally, with 'client window' JSF can properly handle multiple tabs"
15:51 pdurbin "a little bit of extra work at the application level, but you can do it"
15:51 tjsnell haha
15:52 pdurbin :)
15:52 pdurbin "The JSF spec requires that client window mode must be automatically enabled if one or more flows are detected" -- https://java.net/jira/browse/GLASSFISH-20433
15:53 pdurbin (I'm not seeing a lot on Google about "client window")
15:54 pdurbin ah, here we go: http://docs.oracle.com/javaee/7/api/javax/faces/lifecycle/ClientWindow.html
15:55 pdurbin on to HTML5-friendly markup
15:55 ana__ joined ##javaee
15:57 pdurbin "pass through attributes" ... components do not process them
16:07 pdurbin he said to check out http://docs.oracle.com/javaee/7/api/javax/faces/view/facelets/TagDecorator.html
16:48 pdurbin next session: Apache TomEE, Java EE Web Profile, and More on Tomcat [CON3969] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=3969
16:48 pdurbin by the founder of TomEE: https://twitter.com/dblevins
16:51 whartung ask them what the difference between TomEE and Geronimo is!
16:54 pdurbin hmm. "Our most popular distribution is a fully certified Java EE 6 application server runtime" -- http://geronimo.apache.org
16:54 pdurbin whartung: isn't TomEE just the Jave EE web profile?
16:55 pdurbin "an all-Apache stack aimed at Java EE 6 Web Profile certification" -- http://tomee.apache.org/apache-tomee.html
16:59 pdurbin oh, a side note, http://stuartmarks.files.wordpress.com/2013/09/tut3877_marks-jumpstartinglambda-v6.pdf were just posted via http://stuartmarks.wordpress.com/2013/09/22/javaone-2013-has-begun/ via https://twitter.com/stuartmarks/status/382399575350185984 ... 147 pages on lambda goodness :)
16:59 pdurbin see also my notes on that lambda talk at http://irclog.greptilian.com/javaee/2013-09-23#i_24549
17:01 pdurbin ok, the TomEE talk is starting
17:05 pdurbin "EARs are dead... long live war files"
17:05 pdurbin "web profile cuts java ee in half"
17:06 pdurbin java ee now testable via embedded containers and arquillian
17:06 pdurbin all this under "milestone changes" for java ee since it was j2ee
17:06 pdurbin he is one of the founders of geronimo
17:07 pdurbin had to deal with jax-rpc and and other undesireable parts of the full profile
17:08 pdurbin he likes the simplicity of the war file, that ear files aren't dictated any more
17:09 pdurbin "you can run the entire stack as an embeddable container on java se"
17:24 pdurbin YAP PetStore demo, written by Antonio Goncalves
17:25 pdurbin this, I guess: http://antoniogoncalves.org/2012/06/25/yet-another-petstore/
17:26 pdurbin maybe this code: https://github.com/agoncal/agoncal-application-petstore-ee6
17:28 pdurbin ah ha, I suspect this is the version he's showing: https://github.com/tomitribe/agoncal-application-petstore-ee6
17:29 pdurbin https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/service/DBPopulator.java
17:29 pdurbin he's talking about @Startup in that file ^^
17:29 pdurbin and @DataSourceDefinitions
17:31 pdurbin showing https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/service/CatalogService.java
17:34 pdurbin showing https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/rest/CatalogRestService.java
17:35 pdurbin showing @Deployment at https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/test/java/org/agoncal/application/petstore/domain/AddressTest.java
17:36 pdurbin pretty quick to run that test
17:37 pdurbin showing a bigger test: https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/test/java/org/agoncal/application/petstore/service/CatalogServiceTest.java
17:38 pdurbin extolling the virtues of bean validation
17:39 pdurbin i.e. custom @Price at https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/domain/Item.java
17:39 pdurbin bean validation rules defined here: https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/constraint/Price.java
17:41 pdurbin showing https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/util/LoggingInterceptor.java
17:42 pdurbin custom annotation: @Loggable
17:44 pdurbin showing InvocationHandler at https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/service/CatalogService.java
17:45 pdurbin hmm, well, this is a new feature... not pushed up to github yet apparently
17:57 pdurbin showing @Consumes at https://github.com/tomitribe/agoncal-application-petstore-ee6/blob/master/src/main/java/org/agoncal/application/petstore/rest/CatalogRestService.java
18:06 pdurbin end of session
18:13 whartung so what's next on the menu pdurbin
18:14 pdurbin heh
18:15 pdurbin whartung: Nuts and Bolts of Java EE 7 Interceptors [CON7771] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=7771
18:17 pdurbin with https://www.java.net//jcp/communityspotlight/marina-vatkina and https://twitter.com/emmanuelbernard
18:19 pdurbin "Interceptors are used in conjunction with Java EE managed classes to allow developers to invoke interceptor methods on an associated target class, in conjunction with method invocations or lifecycle events. Common uses of interceptors are logging, auditing, and profiling." -- http://docs.oracle.com/javaee/7/tutorial/doc/interceptors001.htm
18:19 pdurbin I feel like people have told me interceptors are important. I'm hoping to find out why :)
18:21 whartung interceptors are nice
18:22 pdurbin whartung: what do you use them for?
18:22 whartung oh all sorts of things
18:23 whartung logging, auditing, typically
18:26 pdurbin ok, like the docs say
18:27 whartung yup
18:27 whartung they're like filters in webapps
18:27 whartung same concept
18:28 pdurbin I can't find javax.interceptor.Interceptors in our code. I guess we don't use them
18:30 pdurbin this guy is the spec lead for bean validation
18:31 pdurbin and the gal is a spec lead on various things
18:33 pdurbin added AroundConstruct
18:33 pdurbin (in Interceptors 1.2)
18:33 whartung oh nice
18:35 pdurbin "Interceptors are used to interpose on business method invocations and specific events, such as timeout events or lifecycle events, that occur on instances of Java EE components and other managed classes." -- https://java.net/downloads/interceptors-spec/interceptor-1-2-mrel.pdf
18:36 pdurbin "why bean validations needs interceptors"
18:38 pdurbin new in bean validation 1.1: validation of parameters and return values upon method call
18:39 pdurbin ah, between the client and a method is a Bean Validation interceptor
18:39 pdurbin that validates parameters
18:44 pdurbin validation should happen as late as possible, after security and transaction checks. and to limit the rist of parameter value mutution... so they introduced the notion of global @Priority for an interceptor
18:45 pdurbin number based priority
18:46 pdurbin https://javaee-spec.java.net/nonav/javadocs/javax/interceptor/Interceptor.Priority.html
18:49 pdurbin talking about https://javaee-spec.java.net/nonav/javadocs/javax/interceptor/AroundConstruct.html
18:51 pdurbin a new lifecycle callback interceptor type
18:52 pdurbin so in code you use @ValidateConstructor
18:56 pdurbin "interceptors are stacks"
18:57 pdurbin "global ordering is a tricky thing"
18:58 pdurbin has to be backwards compatible
19:02 pdurbin CMT as "container managed transactions"
19:16 pdurbin more at https://java.net/projects/interceptors-spec/
19:16 pdurbin they welcome feedback
19:17 pdurbin fin
19:27 SoniEx2 joined ##javaee
20:00 pdurbin next session: Unlocking the Java EE Platform with HTML5 [CON3475] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=3475
20:01 pdurbin with https://twitter.com/GeertjanW
20:02 pdurbin and https://twitter.com/ensode
20:04 pdurbin demo of websockets
20:22 pdurbin Johannes Weigend from http://www.qaware.de/de/geschaeftsleitung up next
20:26 pdurbin huh. you can add twitter-bootstrap under javascript files right from netbeans when clicking "new html application"
20:42 pdurbin demo of Cross-Origin Resource Sharing Filter wizard: http://wiki.netbeans.org/NetBeans_731_NewAndNoteworthy
20:43 pdurbin using a view model from knockoutjs
21:10 tjsnell man they are pushing their ide hard
21:26 whartung you there too tjsnell ?
21:26 tjsnell nope
21:26 tjsnell several friends there speaking
21:26 tjsnell but I didn't head out
21:27 tjsnell I'd rather my time off from work have to do with being outdoors, not at a conference
21:27 whartung you can listen to it from the outside on your "portable media player" :)
21:28 tjsnell or I can go out in the ocean fishing and turn off all non fishing related electronic
21:28 tjsnell s
21:30 whartung you could watch the conference on one device, and fishing shows on another…so, it's kinda the same...sorta...
21:30 whartung this was really good
21:30 whartung http://stuartmarks.files.wordpress.com/2013/09/tut3877_marks-jumpstartinglambda-v6.pdf
21:34 whartung I'm mostly content with Netbeans, content enough to not bother switching
21:56 kobain joined ##javaee
22:29 pdurbin I did just get outside for a few minutes: https://plus.google.com/107770072576338242009/posts/HA7Nzb8DmzB
22:30 pdurbin catching the tail end of Enterprise JavaBeans 3.2 with Examples [CON7759] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=7759
22:30 pdurbin David Blevins again, who is awesome
22:40 pdurbin all the code he's showing is at https://github.com/dblevins/mdb-improvements
22:40 pdurbin he was just showing the telnet connector, for example
22:41 whartung nice
22:41 pdurbin talking about how in Java we always use HTTP and JMS but other protocols can be used. and there are already exisiting clients
22:41 whartung JCA is so fabulously complicated :)
22:42 pdurbin hmm, well, he has a quickstart at least: https://github.com/dblevins/jca-quickstart :)
22:43 whartung yea
22:43 whartung I'm half heartedly working on a book about this of all things, so the examples will be nice.
22:44 pdurbin whartung: oh. I didn't realize. how's the writing going?
22:44 whartung slowly :) I mostly have an outline done.
22:45 whartung it's just a whimsy
22:45 pdurbin ah. no book deal yet? :)
22:45 whartung no
22:46 pdurbin well, please keep us posted :)
22:47 whartung sure
22:47 whartung figured I'd self publish :) reap all the phat profits for myself.
22:53 pdurbin :)
23:08 pdurbin next session: Meet the Java EE Specification Leads [BOF2795] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=2795
23:08 pdurbin with https://www.java.net//jcp/communityspotlight/bill-shannon and https://www.java.net//jcp/communityspotlight/linda-demichiel
23:09 whartung hopefully the women will keep their panties on this time...
23:21 pdurbin !
23:22 pdurbin some other heavy hitters here too. https://twitter.com/edburns and the Interceptors spec llady
23:24 pdurbin Marina
23:28 pdurbin actually, more folks are behind them
23:28 pdurbin "well, there are a lot of specs" :)
23:29 pdurbin Bill Shannon up first
23:30 pdurbin any questions about the future of Java EE? they're going to be asking us
23:33 pdurbin themes of Java EE 7: html5, productivity (simplified APIs), enterprise demands (concurrency, batch, simplified JMS)
23:40 pdurbin quick overview of Java EE 7 and now their fielding questions
23:40 pdurbin anyone have any?
23:44 pdurbin someone asked, "What about JDO?"
23:45 * pdurbin looks at http://en.wikipedia.org/wiki/Java_Data_Objects
23:50 raoul- joined ##javaee
23:50 Fubar^ joined ##javaee
23:53 ibaca joined ##javaee
23:53 kobain joined ##javaee
23:53 SoniEx2 joined ##javaee
23:53 neuro_sys joined ##javaee
23:53 oO0Oo joined ##javaee
23:53 kinabalu joined ##javaee
23:53 whartung joined ##javaee
23:53 grug joined ##javaee
23:53 acuzio joined ##javaee
23:53 mbc joined ##javaee
23:53 crimsonfubot joined ##javaee
23:53 pdurbin joined ##javaee
23:53 balazare joined ##javaee
23:53 ChanServ joined ##javaee
23:53 pdurbin oh good. philbot is back and logging
23:53 whartung jdo is long dead
23:54 pdurbin yeah, that was my impression. but I think JDO is what cheeser was talking about the other night
23:54 whartung curious what questions you get
23:54 pdurbin Ed Burns asked if Java EE is too hard to ramp up on
23:54 whartung no
23:54 pdurbin hmm, I dunno, there's a lot there
23:54 whartung but you don't need it all
23:55 pdurbin sure
23:55 whartung how much did I talk about when you first started how to keep your interest focused rather than chasing every shiny new word you run in to
23:55 pdurbin it's easier to sling something together in PHP though :)
23:56 whartung eh, sling PHP or similarly awful JSPs, pretty close, save for putting jars in the right palce
23:56 pdurbin hmm. I haven't really worked with JSP at all
23:56 pdurbin but I guess that makes sense
23:56 whartung you don't see it in JSP because we don't have to, and prefer other patterns
23:57 whartung but you can write JSP like PHP if you like
23:57 pdurbin they were asked how closely they work with the Java SE folks
23:58 pdurbin challenges in having to predict what features they'll want in SE. can take a while
23:58 whartung hey they added lambdas to EL, -- how close do you want!??
23:58 pdurbin they said annotations were only added to Java because the EE folks wanted them
23:58 whartung yea they have to be a step behing
23:58 whartung sure

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

Please see http://irclog.greptilian.com/javaee for which days have been logged.