Hi Martin, can you please give me which your project is?
So I can study a real example. I already read the 2 books bat for me it isn't simple. With a real exsample it'll be better. martijnverburg wrote: > > Hi Mario, > > We personally use Jboss 4.3.0.GA and a small amount of EJB2.1 and lots of > Spring configured POJOs, we also have a servlet or two (WAR), JCA > connectors (RAR) and a service archive that we're trying to phase out > (SAR). The first thing you must have clear in your mind/layout is that > Maven produces one artifact per POM. So we for example have a separate pom > for the JAR, WAR, RAR, EAR etc. > > Start by building a project that builds your POJOs and their associated > unit tests. Then take a look at the WAR plugin to see how you can take the > JSF etc and build a WAR. Then take a look at the EAR plugin to see how you > can bring it all together. Remember a separate pom for each of these. > > Definitely Read: > > http://books.sonatype.com/maven-book/ > > and > > BetterBuildsWithMaven.pdf (just search for this via Google) > > They're both relatively short documents that provide a massive amount of > help and understanding. > > Then look at the appropriate plugins on the Maven site, eg ear, war, > assembly. Their documentation is fairly clear. > > Good luck! > > > On Dec 4, 2008 9:00am, Mario Alsini <[EMAIL PROTECTED]> wrote: >> >> >> >> >> Ok, my in my project i use ejb3, jboss 4.2.*, jsf. >> >> >> >> My request is for migrate from netbeans to maven. >> >> >> >> I have a lot of difficult to do this migration and a sea of dubt. >> >> >> >> I know I need to mudularize my project but i don't know how exactly. >> >> >> >> Martin Gainty wrote: >> >> > >> >> > >> >> > it would be helpful to know what the ear is supposed to accomplish >> >> > web-service? >> >> > connection-pooling? >> >> > >> >> > also which AppServer ar you deploying to? >> >> > WebLogic? >> >> > JBoss? >> >> > Websphere? >> >> > Resin? >> >> > >> >> > Martin >> >> > ______________________________________________ >> >> > Disclaimer and confidentiality note >> >> > Everything in this e-mail and any attachments relates to the official >> >> > business of Sender. This transmission is of a confidential nature and >> >> > Sender does not endorse distribution to any party other than intended >> >> > recipient. Sender does not necessarily endorse content contained within >> >> > this transmission. >> >> > >> >> > >> >> > >> >> > >> >> >> Date: Wed, 3 Dec 2008 17:26:57 +0000 >> >> >> Subject: Re: Re: Searching for good j2ee example >> >> >> From: [EMAIL PROTECTED] >> >> >> To: [email protected] >> >> >> >> >> >> Hi Mario, >> >> >> >> >> >> What specific examples are you after/what information do you need? >> What >> >> >> have you tried so far? >> >> >> >> >> >> Happy to help, but I don't see much point in just sending over a whole >> >> >> bunch of poms and associated configuration files. >> >> >> >> >> >> Cheers, >> >> >> Martijn >> >> >> >> >> >> On Dec 3, 2008 4:02pm, Mario Alsini wrote: >> >> >> > >> >> >> > >> >> >> > Is not important the domani of the j2ee project. >> >> >> > >> >> >> > >> >> >> > >> >> >> > I need a project with several module. >> >> >> > >> >> >> > >> >> >> > >> >> >> > In my project, for example, for now in netbeans form, i use ejb, jsf >> >> >> war, >> >> >> > >> >> >> > plain text client ... >> >> >> > >> >> >> > >> >> >> > >> >> >> > Thank you! >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > karianna wrote: >> >> >> > >> >> >> > > >> >> >> > >> >> >> > > What sort of things are you after? We build several EARs in our >> >> >> project >> >> >> > >> >> >> > > (which contain SAR, RAR, WAR, HAR, SAR etc) >> >> >> > >> >> >> > > >> >> >> > >> >> >> > > On Dec 3, 2008 3:21pm, Mario Alsini wrote: >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> Hello, i need to see an example of medium j2ee project well done >> >> >> with >> >> >> > >> >> >> > > maven. >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> -- >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> View this message in context: >> >> >> > >> >> >> > > >> >> >> > http://www.nabble.com/Searching-for-good-j2ee-example-tp20814960p20814960.html >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> --------------------------------------------------------------------- >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > >> >> >> >> > >> >> >> > > >> >> >> > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > >> >> >> > View this message in context: >> >> >> > http://www.nabble.com/Searching-for-good-j2ee-example-tp20814960p20815798.html >> >> >> > >> >> >> > Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> --------------------------------------------------------------------- >> >> >> > >> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> > >> >> >> > For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > _________________________________________________________________ >> >> > Send e-mail faster without improving your typing skills. >> >> > > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008 >> >> > >> >> >> >> -- >> >> View this message in context: > http://n2.nabble.com/Searching-for-good-j2ee-example-tp1609248p1612769.html >> >> Sent from the maven users mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/Searching-for-good-j2ee-example-tp20814960p20833803.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
