You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by "uchmannuz@yahoo.com" <uc...@yahoo.com> on 2011/05/18 11:24:38 UTC

Issues Deploying EJB 3.0

i have a little issue deploying my ejb 3.0.

1. i have libraries my ejbs depend on, alot of them.

Question 1.
How do i deploy these libraries so that deployed ejbs will see them.

Question 2.
How do i deploy all ejbs in a particular directory say c:\ejbapp at the same
time
without deploying them one by one using geronimo console.

Question 3.
How do i reference all libraries my application depends on once so that the
application components
will see them. 

Thanks

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Issues-Deploying-EJB-3-0-tp2956274p2956274.html
Sent from the Users mailing list archive at Nabble.com.

Re: Issues Deploying EJB 3.0

Posted by "uchmannuz@yahoo.com" <uc...@yahoo.com>.
Thanks Ivan xu
your response really helped me.
it's working now.

Ivan Xu wrote:
> 
> I think that it is a scenario to use EAR package.  The package
> structure is something like
> myear.ear - ejb1.jar
>                  - ejb2.jar
>                  - ejb3.jar
>                  - ejb4.jar
>                  - lib
>                    - library1.jar
>                    - library2.jar
> 
> 2011/5/18 uchmannuz@yahoo.com &lt;uchmannuz@yahoo.com&gt;
>>
>> i have a little issue deploying my ejb 3.0.
>>
>> 1. i have libraries my ejbs depend on, alot of them.
>>
>> Question 1.
>> How do i deploy these libraries so that deployed ejbs will see them.
>>
>> Question 2.
>> How do i deploy all ejbs in a particular directory say c:\ejbapp at the
>> same
>> time
>> without deploying them one by one using geronimo console.
>>
>> Question 3.
>> How do i reference all libraries my application depends on once so that
>> the
>> application components
>> will see them.
>>
>> Thanks
>>
>> --
>> View this message in context:
>> http://apache-geronimo.328035.n3.nabble.com/Issues-Deploying-EJB-3-0-tp2956274p2956274.html
>> Sent from the Users mailing list archive at Nabble.com.
> 
> 
> 
> --
> Ivan
> 


--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Issues-Deploying-EJB-3-0-tp2956274p2979898.html
Sent from the Users mailing list archive at Nabble.com.

Re: Issues Deploying EJB 3.0

Posted by Ivan <xh...@gmail.com>.
I think that it is a scenario to use EAR package.  The package
structure is something like
myear.ear - ejb1.jar
                 - ejb2.jar
                 - ejb3.jar
                 - ejb4.jar
                 - lib
                   - library1.jar
                   - library2.jar

2011/5/18 uchmannuz@yahoo.com <uc...@yahoo.com>
>
> i have a little issue deploying my ejb 3.0.
>
> 1. i have libraries my ejbs depend on, alot of them.
>
> Question 1.
> How do i deploy these libraries so that deployed ejbs will see them.
>
> Question 2.
> How do i deploy all ejbs in a particular directory say c:\ejbapp at the same
> time
> without deploying them one by one using geronimo console.
>
> Question 3.
> How do i reference all libraries my application depends on once so that the
> application components
> will see them.
>
> Thanks
>
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Issues-Deploying-EJB-3-0-tp2956274p2956274.html
> Sent from the Users mailing list archive at Nabble.com.



--
Ivan