deploying ejb without jar'ing
im sure ive come across this... can i deploy ejb's directly from a filestructure instead fo jarring them first? and if so how? sincerely Morten Wilken
RE: deploying ejb without jar'ing
I'm pretty sure you can not. Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Morten Wilken Sent: Wednesday, January 09, 2002 4:10 AM To: Orion-Interest Subject: deploying ejb without jar'ing im sure ive come across this... can i deploy ejb's directly from a filestructure instead fo jarring them first? and if so how? sincerely Morten Wilken
RE: deploying ejb without jar'ing
Yes you can, 1. Configure an application deployment at directory app with app/META-INF (I'll call my app directory app for this example) 2. Inside of app/META-INF/application.xml add your ejb module, let's call it model 3. Create a directory app/model 4. Create a directory app/model/META-INF and put ejb-jar.xml in it 5. Update orion-application.xml and put a librarty path=path to your classes pointing to where your EJB classes live Follow standard procedures to deploy an application (i.e. updating server.xml etc...) -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Morten Wilken Sent: Wednesday, January 09, 2002 1:10 AM To: Orion-Interest Subject: deploying ejb without jar'ing im sure ive come across this... can i deploy ejb's directly from a filestructure instead fo jarring them first? and if so how? sincerely Morten Wilken
RE: deploying ejb without jar'ing
It's possible... It's just a matter of editing the application's META-INF/application.xml to point to a directory (eg: project/ejb-jar), then creating another META-INF directory (eg: project/ejb-jar/META-INF) and dumping the ejb-jar.xml under that. Of course, if by 'deploying' you mean sending them to another app server, blah blah blah... Then I'm not too sure. I suspect that you'd have to create the jar for that. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Morten Wilken Sent: January 9, 2002 4:10 AM To: Orion-Interest Subject: deploying ejb without jar'ing im sure ive come across this... can i deploy ejb's directly from a filestructure instead fo jarring them first? and if so how? sincerely Morten Wilken
Re: deploying ejb without jar'ing
I do this all the time. filestructure: app/ META-INF/ app-ejb/ META-INF/ com/fullsix/... app-web/ WEB-INF/ I point orion at app/ (via server.xml), and in the application.xml, instead of referencing a .jar, I reference app-ejb/ like this: application ... module ejbapp-ejb/ejb /module ... /application As long as orion finds the META-INF for the ejbs, it does not make a difference wether it's a jar or not. it will deploy the app into $ORION_HOME/application-deployments/ as usual. - Renaud - Original Message - From: Marc Rabil [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 2:48 PM Subject: RE: deploying ejb without jar'ing I'm pretty sure you can not. Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Morten Wilken Sent: Wednesday, January 09, 2002 4:10 AM To: Orion-Interest Subject: deploying ejb without jar'ing im sure ive come across this... can i deploy ejb's directly from a filestructure instead fo jarring them first? and if so how? sincerely Morten Wilken
RE: deploying ejb without jar'ing
Sorry for the bad advice - looks like good ole Orion allows you to do all kinds of things! Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Renaud Bruyeron Sent: Wednesday, January 09, 2002 1:23 PM To: Orion-Interest Subject: Re: deploying ejb without jar'ing I do this all the time. filestructure: app/ META-INF/ app-ejb/ META-INF/ com/fullsix/... app-web/ WEB-INF/ I point orion at app/ (via server.xml), and in the application.xml, instead of referencing a .jar, I reference app-ejb/ like this: application ... module ejbapp-ejb/ejb /module ... /application As long as orion finds the META-INF for the ejbs, it does not make a difference wether it's a jar or not. it will deploy the app into $ORION_HOME/application-deployments/ as usual. - Renaud - Original Message - From: Marc Rabil [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 2:48 PM Subject: RE: deploying ejb without jar'ing I'm pretty sure you can not. Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Morten Wilken Sent: Wednesday, January 09, 2002 4:10 AM To: Orion-Interest Subject: deploying ejb without jar'ing im sure ive come across this... can i deploy ejb's directly from a filestructure instead fo jarring them first? and if so how? sincerely Morten Wilken