During the 4developers conferece in Krakow (nice city with a dragon a good beer) I participated at the Java Underground - a series of shortalk after the launch and gave a talk with the title "Live And Lightweight EJB 3.1 Hacking". I used the experimental Netbeans 6.7m2 features and Glassfishv3 EA. In exactly five minutes (the guys were really strict about the timing :-)). I did the following:
- Started Glassfish v3 (took 2.4 seconds)
- Created a WAR project
- Developed a Singleton, @Startup Bean
- Changed and redeployed the bean to demo the "hot deployment" aka "Deploy On Save"
- Build a no-interface Session Bean
- Injected the Stateless Session Bean into the Singleton Bean
- Created a Servlet
- Injected the Session Bean into the Servlet
There was still enough time to explain what I actually did :-). Let see - next time I will try to deploy a persistent entity at that time as well.
Btw. it was a really good conference. I spent lots of time with Neal Ford, Ted Neward (thoughtworkers), Ivo Jansh (PHP guru), Raymond Lewallen (MVP) and nice guys from allegro.pl (a kind of polish ebay), discussing productivity (and the flow especially), testing of messaging systems and messaging patterns, functional languages, scaleability, performance and PHP architectures.
NEW online workshop: Web Components training (online)