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 :-).

Comments:

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 07: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 09:32 AM CEST #

Luis, just run:

mvn eclipse:eclipse

Posted by Danilo Piazzalunga on April 06, 2012 at 01:24 PM 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 10:15 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License