Vegas, Casino, Bandits, Police and Some Loot - No Slides Java EE 6 Session at TSSJS
During the session "Lightweight Application Development with Java EE 6" at the TheServerSide Java Symposium March, Las Vegas, I implemented on stage a simple Java EE 6 application "Vegas".
The attendees were true domain experts and suggested "Loot", Mafia, stealing listener and bandits for implementation.I got many questions and answered them directly with code, so that the code is a bit chaotic. The first time ever an attendee wanted to see how to break and fix Java EE 6 Dependency Injection - we did it as well.
The entire project "Vegas" was developed with NetBeans 6.9.1 and Glassfish v3.0.1 without any extensions, plugins or tricks :-) and pushed into: http://kenai.com/projects/javaee-patterns/ (see hacks/Vegas).
[I was also asked about a link to the Real World Java EE Patterns - Rethinking Best Practices book].
hi adam, how can i get the sources from kenai. is there a way i could download entire folders from your kenai project page?, m bit new to mecurial stuff.
Posted by frank on March 20, 2011 at 02:12 AM CET #
A great show. I wish it could have been recorded. But now I can at least imagine having fun coding in Java EE. Thanks Adam!
Posted by Michael Ernest on March 20, 2011 at 04:40 AM CET #
@Frank,
if you are new to mercurial use:
hg clone https://hg.kenai.com/hg/javaee-patterns~hg
you can also browse the sources directly:
http://kenai.com/projects/javaee-patterns/sources/hg/show/hacks/Vegas?rev=195
thanks!,
adam
Posted by adam-bien.com on March 20, 2011 at 10:15 PM CET #
@Michael,
but: developing with Java EE 6 is orders of magnitudes more fun, than attending a Java EE 6 session :-)
thanks for the nice comment!,
adam
Posted by adam-bien.com on March 20, 2011 at 10:19 PM CET #
What is the reason for the Casino class to use JAX-RS?
Posted by Stefan Bley on March 28, 2011 at 02:35 PM CEST #
@Stefan,
I was asked how to expose an EJB as JAX-RS - this is the reason. And:
"...I got many questions and answered them directly with code, so that the code is a bit chaotic. The first time ever an attendee wanted to see how to break and fix Java EE 6 Dependency Injection - we did it as well..." :-) [see the post]
Enjoy Java EE 6!,
adam
Posted by adam-bien.com on March 28, 2011 at 07:24 PM CEST #