Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Multiple ejb.jar's and a single jboss.xml?

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the recommended deployment policy to have a single ejb.jar?
If I am deploying multiple ejb.jar's can I have a single jboss.xml for all of them outside a particular ejb.jar?
Or is there supposed to be a jboss.xml inside each ejb.jar?

Thanks
Chandra
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why you need multile ejb-jar.xml ?, you can use single ejb-jar.xml to deploy any number of ejbs. You need to give ejb-jar.xml and jboss.xml in single jar file. but you can have any number of ejbs in single jar file. so that you can use single ejb-jar.xml and single jboss.xml to deploy any number of ejbs.
 
P Chandrasekaran
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sanju Thomas:
Why you need multile ejb-jar.xml ?, you can use single ejb-jar.xml to deploy any number of ejbs. You need to give ejb-jar.xml and jboss.xml in single jar file. but you can have any number of ejbs in single jar file. so that you can use single ejb-jar.xml and single jboss.xml to deploy any number of ejbs.



:-)
Sanju
I do not think that is a manageable solution for the situation where I have to port an app from Weblogic 5.1 toJBoss 4.0 with 95 EJBs packaged currently in as many different jars.
I would like to maintain the strcuture as much as possible.

So I need to know whether JBoss AS has any problem with multiple ejb-jars.

Thanks
Chandra
 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by P Chandrasekaran:


:-)
Sanju
I do not think that is a manageable solution for the situation where I have to port an app from Weblogic 5.1 toJBoss 4.0 with 95 EJBs packaged currently in as many different jars.
I would like to maintain the strcuture as much as possible.

So I need to know whether JBoss AS has any problem with multiple ejb-jars.

Thanks
Chandra




No, there is no such problem. you can deploy any number of ejb.jars. but I think you need one jboss.xml for each and every ejb-jar file.
 
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic