Another good approach would be to split the project in different modules as
shown in Better Builds with maven[1] book.

I would suggest you to take a good look at this one, it can be a real time
saver.

[1]http://www.mergere.com/m2book_download.jsp

On 1/26/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:

Hi,
  you don't need anything special.. with jboss, you can deploy an ejb
as a jar file.
All you  need to do is to have a  jar project, make sure to put in your
src/main/resources  a META-INF directory with your persistence.xml file in
it

this is the simplest setup you could have


hth
marco

On 1/26/07, Vidya Mahavadi <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have to deploy an application with EJB3 to JBoss 4.0.4 server. I also
> need to use EJB JPA for persistance. In maven 2.0, can anyone please
give
> me steps how to generate/deploy ear file from the application. It would
be
> a great help!
>
> Regards,
>
> This e-mail is subject to a disclaimer, available at
>
>
http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
>
>
>




--
Vitor Pellegrino

Reply via email to