Adam Bien's Weblog
Creating Java EE 6 Projects With Maven 3--In 3 Minutes (Screencast)
Java EE 6 projects can be easily created from command line. You only need Maven 3 for that purpose:
See also a "transcription" of the screencast in my post Kickstarting Real World Java EE 6 Projects With Maven 3.
After the initial euphoria you should also take a look at Trouble With Crippled Java EE 6 APIs in Maven Repository And The Solution :-).
Posted at 10:05AM Apr 05, 2012 by Adam Bien in Real World Java EE Patterns - Rethinking Best Practices | Comments[4] | Views/Hits: 11536
NEW Workshop: "JPA, NoSQL, Caching, Grids and Distributed Caches with Java EE 7", May 7th, 2013, Airport Munich
A book about rethinking Java EE Patterns
Tweet Follow @AdamBien

i like all your work but i am sorry it is not netbeans independent and it doesnt work in eclipse
i have a question that is not related to maven
how to call a ejb from gwt without all the boilepart (service,serviceImpl,serviceasinc, servlet)
it will be wonderfull if i progran all in ajax in java in the client site but i cant when i tried to use gwt i just need to create so many clases to use a simple ejb
Posted by luis on April 06, 2012 at 05:52 AM CEST #
@Luis,
"i like all your work but i am sorry it is not netbeans independent and..."
the project created in this screencast is absolutely NetBeans independent.
"...and it doesnt work in eclipse"
After finding and installing the right plugins, it should also work with eclipse :-)
"how to call a ejb from gwt without all the boilepart (service,serviceImpl,serviceasinc, servlet)"
If you just need HTTP + JSON. Use JAX-RS: http://www.adam-bien.com/roller/abien/entry/simplest_possible_ejb_3_13
Take also a look at: http://www.jboss.org/errai
thanks!,
adam
Posted by Adam Bien on April 06, 2012 at 07:32 AM CEST #
Luis, just run:
mvn eclipse:eclipse
Posted by Danilo Piazzalunga on April 06, 2012 at 11:24 AM CEST #
Dear Adam,
Everything works fine except the deployment phase.
I have NetBeans 7.1.1 and after Run on Maven project it just build and create .war file. No deployment on Glassfish 3.1.2 takes place.
Where can I configure deployment?
Posted by Lucas on April 11, 2012 at 08:15 PM CEST #