greptilian logo

IRC log for #friendlyjava, 2015-03-04

##friendlyjava on freenode

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

All times shown according to UTC.

Time S Nick Message
00:50 HEGX64 joined ##friendlyjava
08:11 Richard_2340985 joined ##friendlyjava
13:06 aditsu joined ##friendlyjava
14:21 Patch joined ##friendlyjava
15:45 aditsu joined ##friendlyjava
16:00 aditsu joined ##friendlyjava
19:02 aditsu joined ##friendlyjava
19:16 aditsu joined ##friendlyjava
19:28 pdurbin fun with @Asynchronous today: http://docs.oracle.com/javaee/7/tutorial/ejb-async001.htm
19:34 aditsu ugh, "fun" and "ejb" don't belong on the same line
19:38 pdurbin :)
19:39 pdurbin public Future<String> indexAll() { ...
20:33 aditsu joined ##friendlyjava
20:38 pdurbin hmm, in the example they store the Future (Future<String> mailStatus) in a @SessionScoped "backing bean" for a web page. I'd like to be able to get at the Future from my REST API... so I'm not sure where to store the Future... since our API endpoints are stateless
20:38 pdurbin here's the backing bean from the example: https://svn.java.net/svn/javaeetutorial~svn/branches/javaee-tutorial-7.0.5/examples/ejb/async/async-war/src/main/java/javaeetutorial/async/web/MailerManagedBean.java
20:39 pdurbin and here's the method with the @Asynchronous annotation: https://svn.java.net/svn/javaeetutorial~svn/branches/javaee-tutorial-7.0.5/examples/ejb/async/async-war/src/main/java/javaeetutorial/async/ejb/MailerBean.java
22:37 aditsu joined ##friendlyjava
23:16 aditsu joined ##friendlyjava

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

##friendlyjava on freenode