yes, but how do you protect the data then ?
The ejb-jar will be exposed to any application running in the container..
The idea is to be able to configure "groups of applications" that
share some resources ...
On Thu, Feb 25, 2010 at 10:01 AM, Wouter van Reeven
<wouter_at_van.reeven.nl> wrote:
> Did you try to deploy the EJB jar as an EJB module and reference the
> beans in the jar from your web applications? That *should* be possible.
>
>
> Wouter
>
> On Thu, Feb 25, 2010 at 09:58:19AM +0100, Felipe Gaścho wrote:
>> my original problem: I have an EAR with an ejb-jar inside.. then I
>> created another appllication (WAR) and I tried to access the ejb-jar
>> from that.. it is impossible today..
>>
>> so, I need to re-pack the ejb-jar in the war, or find another solution........
>>
>> 2010/2/25 Felipe Gaścho <fgaucho_at_gmail.com>:
>> > * with security, I mean.....
>> >
>> > 2010/2/25 Felipe Gaścho <fgaucho_at_gmail.com>:
>> >> I have an ejb-jar that should be shared by different applications...
>> >>
>> >> how you do that ?
>> >>
>> >> On Thu, Feb 25, 2010 at 9:55 AM, Richard Kolb <rjdkolb_at_gmail.com> wrote:
>> >>> Hi Felipe
>> >>>
>> >>> 2010/2/25 Felipe Gaścho <fgaucho_at_gmail.com>
>> >>>>
>> >>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11611
>> >>>>
>> >>>> Please read, review, contribute and vote in this issue :)
>> >>>
>> >>> Sorry , I am confused. Just bear with me please.
>> >>>
>> >>>
>> >>> You have a EJB with JPA classes. e.g. Customer, Invoice
>> >>>
>> >>> The you have a WAR 1 that uses the EJB and depends on the JPA classes e.g.
>> >>> Customer, Invoice
>> >>> and Then another WAR 2 (possibly the same WAR) that uses the same EJB e.g.
>> >>> Customer, Invoice
>> >>>
>> >>> Then WAR 1 adds a customer, WAR 2 should have a new customer.
>> >>>
>> >>> What exactly is the problem ?
>> >>>
>> >>>
>> >>> regards
>> >>> Richard.
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> ------------------------------------------
>> >> Felipe Gaścho
>> >> 10+ Java Programmer
>> >> CEJUG Senior Advisor
>> >>
>> >
>> >
>> >
>> > --
>> > ------------------------------------------
>> > Felipe Gaścho
>> > 10+ Java Programmer
>> > CEJUG Senior Advisor
>> >
>>
>>
>>
>> --
>> ------------------------------------------
>> Felipe Gaścho
>> 10+ Java Programmer
>> CEJUG Senior Advisor
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
> --
> There are 10 kinds of people in the world. Those that understand
> the binary system and those that don't.
> [Unknown Source]
>
> Skype: wvreeven
> Facebook: wvreeven
> Twitter: wvreeven
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>
--
------------------------------------------
Felipe Gaścho
10+ Java Programmer
CEJUG Senior Advisor