RE: How to use EJB2.0 on Orion
Title: RE: How to use EJB2.0 on Orion Hi Heinz. Your are correct. The update of the ATM to EJB 2.0 left some unwanted remains. It will be updated. WR > -Original Message- > From: Haeussler, Heinz [mailto:[EMAIL PROTECTED]] > Sent: den 25 september 2000 07:59 > To: Orion-Interest > Subject: AW: How to use EJB2.0 on Orion > > > Hello Magnus, > > i studied this ATM-example and compared it with the > ejb-2.0-specification. > I don't understand the dependent-class "LogEntry": Is it a > dependent object > class or a dependent value class ? > > 9.4.3 of the spec tells us for > a dependent object class: > - can be the value of a cmr-field > - cannot be the value of a cmp-field > - must not be serializable > a dependent value class: > - can be the value of a cmp-field > - cannot be the value of a cmr-field > - mus bei serializable > > In the ATM-example, the LogEntry-Class is serializable and a > Collection of > LogEntries is a cmp-fields as well as a cmr-field. > In my opinion a cmp-field cannot be a cmr-field. Tell me if i > am wrong. > Kind regards > > Heinz Häußler > Eurocopter Deutschland GmbH > D/KDC > Postfach 13 53 > 86603 Donauwörth > Tel.: +49 (0) 906 / 71-4431 > Fax.: + 49 (0) 906 / 71-4100 > Mail: mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > Home: http:\\www.eurocopter.com <http://www.eurocopter.com/> > > -Ursprüngliche Nachricht----- > Von: Magnus Rydin [mailto:[EMAIL PROTECTED]] > Gesendet am: Donnerstag, 21. September 2000 12:05 > An: Orion-Interest > Betreff: RE: How to use EJB2.0 on Orion > > > Well, its basically my fault. > The ATM has been running EJB 2.0 since the night it was implemented in > Orion, > I just thought I should do an effort to document the > application before > putting it up there for public access. > Anyway, as previously said, its now available at > http://www.orionserver.com/orion/applications/atm.ear > <http://www.orionserver.com/orion/applications/atm.ear> > Please notice that it will change over time, whenever a new > part of EJB 2.0 > or Servlet 2.3 is implemented. > WR > > > -Original Message- > > From: Christian Sell [ mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> ] > > Sent: den 20 september 2000 21:41 > > To: Orion-Interest > > Subject: Re: How to use EJB2.0 on Orion > > > > > > >I have been sending this mail for quite > > >some time but to no avail. > > > > well, maybe there IS no avail. Not many of us have done EJB > > 2.0 yet, and as > > far as the orion core team goes, I hope (!!) they are busy writing > > documentation for the basic stuff (and improving orion in > > their spare time). > > > > regards > > > > > >
Re: How to use EJB2.0 on Orion
Thanks. I get the following error when trying to use the autoupdate: Sending fileinfo to server IO Error: www.orionserver.com Any help... Regards sb On Thu, 21 September 2000, Ernst de Haan wrote: > > Hi `sb', > > S.Badrinarayanan wrote: > > I am intersted in 2 points mentioned below: > > 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only >1.2.9 as the latest. > > Try autoupdating your version (java -jar autoupdate.jar). > > > 2. Where can I find this document on "Ernst de Haan's approach"? > > You can find the Orion Primer, a simple introduction to Orion at: > >http://www.jollem.com/orion-primer/ > > Ernst > > > Any help... > > > > Thanks > > sb > > > > On Thu, 21 September 2000, Magnus Rydin wrote: > > > > > > > > > > > > > > > Hopefully, the future documentation that will look at one piece at the time, will >make this application more usefull. > > > The way it is right now, is more for advanced users to find an example of a >certain functionality. > > > It will continue to include as many functions as possible, but it will be given a >documentation to make life easier for ppl. > > > > > > > > WR > > > > > > > > > > -Original Message- > > > > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > > > > Sent: den 21 september 2000 05:21 > > > > To: Orion-Interest > > > > Subject: Re: How to use EJB2.0 on Orion > > > > > > > > > > > > Yeah, I know - and the example apps are good, but they're > > > > more than I'd > > > > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > > > > Ernst de Haan's approach - he covers one area and tries not > > > > to dress it > > > > too much. "Here I'll cover creating a simple app." "Here I'll > > > > create a CMP > > > > bean and use it." The ATM is good, but it does *everything* - > > > > which makes > > > > learning individual elements more difficult than it could be > > > > if you had, > > > > for example, an OR-mapping application or a security model > > > > application. > > > > > > > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > > > > > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > > > > has the EJB2.0 based ATM application :-) > > > > > > > > > > Vimal > > > > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > > > > a draft. Personally, > > > > > > I'm mucking about with it a bit, and the parts I'm > > > > > > most interested in - > > > > > > the OR mapping - I've not really covered, so I'm in > > > > > > the same boat of > > > > > > wanting more information, but let's be real about > > > > > > it. It's not there > > > > > > unless we generate it ourselves; we can't expect the > > > > > > Orion team to do > > > > > > everything for us (we *are* developers, right?) so > > > > > > instead of griping > > > > > > about it, read the draft. Play with it. Try things > > > > > > out. Tell others about > > > > > > it, so we can ALL learn. (If I see stuff on it that > > > > > > I think is useful, as > > > > > > soon as the infrastructure is done for the new > > > > > > orionsupport, I'll put it > > > > > > online.) > > > > > > > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > > > > > > > >I have been sending this mail for quite > > > > > > > >some time but to no avail. > > > > > > > > > > > > > > well, maybe there IS no avail. Not many of us have > > > > > > done EJB 2.0 yet, and as > > > > > > > far as the orion core team goes, I hope (!!) they > > > > > > are busy writing > > > > > > > documentation for the basic stuff (and improving > > > > > > orion in their spare time). > > > > > > > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > > Joseph B. Ottinger > > > > > > [EMAIL PROTECTED] > > > > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > > > > Developer > > > > > > > > > > > > > > > > > > > > > > > > > > > __ > > > > > Do You Yahoo!? > > > > > Send instant messages & get email alerts with Yahoo! Messenger. > > > > > http://im.yahoo.com/ > > > > > > > > > > > > > > > > > > --- > > > > Joseph B. Ottinger [EMAIL PROTECTED] > > > > http://cupid.suninternet.com/~joeo HOMES.COM Developer > > > > > > > > > > > > > > > > > > > > Chequemail.com - a free web based e-mail service that also pays!!! > > http://www.chequemail.com > > Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.com
Re: How to use EJB2.0 on Orion
Thanks. I get the following error when trying to use the autoupdate: Sending fileinfo to server IO Error: www.orionserver.com Any help... Regards sb On Thu, 21 September 2000, Ernst de Haan wrote: > > Hi `sb', > > S.Badrinarayanan wrote: > > I am intersted in 2 points mentioned below: > > 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only >1.2.9 as the latest. > > Try autoupdating your version (java -jar autoupdate.jar). > > > 2. Where can I find this document on "Ernst de Haan's approach"? > > You can find the Orion Primer, a simple introduction to Orion at: > >http://www.jollem.com/orion-primer/ > > Ernst > > > Any help... > > > > Thanks > > sb > > > > On Thu, 21 September 2000, Magnus Rydin wrote: > > > > > > > > > > > > > > > Hopefully, the future documentation that will look at one piece at the time, will >make this application more usefull. > > > The way it is right now, is more for advanced users to find an example of a >certain functionality. > > > It will continue to include as many functions as possible, but it will be given a >documentation to make life easier for ppl. > > > > > > > > WR > > > > > > > > > > -Original Message- > > > > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > > > > Sent: den 21 september 2000 05:21 > > > > To: Orion-Interest > > > > Subject: Re: How to use EJB2.0 on Orion > > > > > > > > > > > > Yeah, I know - and the example apps are good, but they're > > > > more than I'd > > > > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > > > > Ernst de Haan's approach - he covers one area and tries not > > > > to dress it > > > > too much. "Here I'll cover creating a simple app." "Here I'll > > > > create a CMP > > > > bean and use it." The ATM is good, but it does *everything* - > > > > which makes > > > > learning individual elements more difficult than it could be > > > > if you had, > > > > for example, an OR-mapping application or a security model > > > > application. > > > > > > > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > > > > > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > > > > has the EJB2.0 based ATM application :-) > > > > > > > > > > Vimal > > > > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > > > > a draft. Personally, > > > > > > I'm mucking about with it a bit, and the parts I'm > > > > > > most interested in - > > > > > > the OR mapping - I've not really covered, so I'm in > > > > > > the same boat of > > > > > > wanting more information, but let's be real about > > > > > > it. It's not there > > > > > > unless we generate it ourselves; we can't expect the > > > > > > Orion team to do > > > > > > everything for us (we *are* developers, right?) so > > > > > > instead of griping > > > > > > about it, read the draft. Play with it. Try things > > > > > > out. Tell others about > > > > > > it, so we can ALL learn. (If I see stuff on it that > > > > > > I think is useful, as > > > > > > soon as the infrastructure is done for the new > > > > > > orionsupport, I'll put it > > > > > > online.) > > > > > > > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > > > > > > > >I have been sending this mail for quite > > > > > > > >some time but to no avail. > > > > > > > > > > > > > > well, maybe there IS no avail. Not many of us have > > > > > > done EJB 2.0 yet, and as > > > > > > > far as the orion core team goes, I hope (!!) they > > > > > > are busy writing > > > > > > > documentation for the basic stuff (and improving > > > > > > orion in their spare time). > > > > > > > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > > Joseph B. Ottinger > > > > > > [EMAIL PROTECTED] > > > > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > > > > Developer > > > > > > > > > > > > > > > > > > > > > > > > > > > __ > > > > > Do You Yahoo!? > > > > > Send instant messages & get email alerts with Yahoo! Messenger. > > > > > http://im.yahoo.com/ > > > > > > > > > > > > > > > > > > --- > > > > Joseph B. Ottinger [EMAIL PROTECTED] > > > > http://cupid.suninternet.com/~joeo HOMES.COM Developer > > > > > > > > > > > > > > > > > > > > Chequemail.com - a free web based e-mail service that also pays!!! > > http://www.chequemail.com > > Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.com
Re: How to use EJB2.0 on Orion
Hi `sb', S.Badrinarayanan wrote: > I am intersted in 2 points mentioned below: > 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only >1.2.9 as the latest. Try autoupdating your version (java -jar autoupdate.jar). > 2. Where can I find this document on "Ernst de Haan's approach"? You can find the Orion Primer, a simple introduction to Orion at: http://www.jollem.com/orion-primer/ Ernst > Any help... > > Thanks > sb > > On Thu, 21 September 2000, Magnus Rydin wrote: > > > > > > > > > > > > > Hopefully, the future documentation that will look at one piece at the time, will >make this application more usefull. > > The way it is right now, is more for advanced users to find an example of a certain >functionality. > > It will continue to include as many functions as possible, but it will be given a >documentation to make life easier for ppl. > > > > > WR > > > > > > > -Original Message----- > > > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > > > Sent: den 21 september 2000 05:21 > > > To: Orion-Interest > > > Subject: Re: How to use EJB2.0 on Orion > > > > > > > > > Yeah, I know - and the example apps are good, but they're > > > more than I'd > > > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > > > Ernst de Haan's approach - he covers one area and tries not > > > to dress it > > > too much. "Here I'll cover creating a simple app." "Here I'll > > > create a CMP > > > bean and use it." The ATM is good, but it does *everything* - > > > which makes > > > learning individual elements more difficult than it could be > > > if you had, > > > for example, an OR-mapping application or a security model > > > application. > > > > > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > > > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > > > has the EJB2.0 based ATM application :-) > > > > > > > > Vimal > > > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > > > a draft. Personally, > > > > > I'm mucking about with it a bit, and the parts I'm > > > > > most interested in - > > > > > the OR mapping - I've not really covered, so I'm in > > > > > the same boat of > > > > > wanting more information, but let's be real about > > > > > it. It's not there > > > > > unless we generate it ourselves; we can't expect the > > > > > Orion team to do > > > > > everything for us (we *are* developers, right?) so > > > > > instead of griping > > > > > about it, read the draft. Play with it. Try things > > > > > out. Tell others about > > > > > it, so we can ALL learn. (If I see stuff on it that > > > > > I think is useful, as > > > > > soon as the infrastructure is done for the new > > > > > orionsupport, I'll put it > > > > > online.) > > > > > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > > > > > >I have been sending this mail for quite > > > > > > >some time but to no avail. > > > > > > > > > > > > well, maybe there IS no avail. Not many of us have > > > > > done EJB 2.0 yet, and as > > > > > > far as the orion core team goes, I hope (!!) they > > > > > are busy writing > > > > > > documentation for the basic stuff (and improving > > > > > orion in their spare time). > > > > > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > Joseph B. Ottinger > > > > > [EMAIL PROTECTED] > > > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > > > Developer > > > > > > > > > > > > > > > > > > > > > > __ > > > > Do You Yahoo!? > > > > Send instant messages & get email alerts with Yahoo! Messenger. > > > > http://im.yahoo.com/ > > > > > > > > > > > > > > --- > > > Joseph B. Ottinger [EMAIL PROTECTED] > > > http://cupid.suninternet.com/~joeo HOMES.COM Developer > > > > > > > > > > > > > > Chequemail.com - a free web based e-mail service that also pays!!! > http://www.chequemail.com >
RE: How to use EJB2.0 on Orion
Hi Jeff, You, mistaken? No way! I had been a bit worried about those sections, but wasn't quite sure what they really meant. Now I've read a bit more, and I believe you are correct. So that means that firstly I have to apologise for sending out bad sample code (although I hope it's still useful), and secondly, in the code I would have to make a new (serializable) class to copy to and pass out to the remote interface. Right? Thanks for your help, Nick At 11:35 PM 9/20/00 -0700, you wrote: >Doesn't the use of the Address dependent object in the Person remote >interface violate section 9.4.11 of the EJB2.0 spec? Specifically: > >- >The Bean Provider must not expose the dependent object classes or the >persistent Collection classes that are used in container managed >relationships through the remote interface of the bean. > >This means that the get and set methods of the entity bean's abstract >persistence schema must not be exposed through the remote interface of >the entity bean except in the following cases: >* When the relationship is defined as a one-to-one or many-to-one >relationship between two entity beans. >* When the get and set accessor methods are methods for a cmp-field. Set >accessor methods cor-responding to primary key fields, however, should >not be exposed in the remote interface of the bean. >- >and... >- >Although dependent object classes cannot be exposed in the remote >interface, the Bean Provider can use the accessor methods to obtain >instances of these persistent classes (including the collection classes >that correspond to relationships), and can copy data to or from these >instances to instances of the classes that are exposed in the remote >interface. >- > >Unless I'm mistaken (no way, never happens :-), you need to copy the >Address data to a detail object before returning it. > >Jeff > >> -Original Message----- >> From: Nick Newman [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, September 20, 2000 3:02 PM >> To: Orion-Interest >> Subject: Re: How to use EJB2.0 on Orion >> >> >> I gather the ATM EJB 2.0 app is out now - but perhaps a very >> simple app >> will still be useful. See attached. >> >> The only problem I have had with EJB 2.0 in Orion is trying >> to do a 1-1 >> mapping to a dependent class. >> >> Nick
Re: How to use EJB2.0 on Orion
On Thu, Sep 21, 2000 at 12:00:25PM +, S.Badrinarayanan wrote: > I am intersted in 2 points mentioned below: > 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only >1.2.9 as the latest. from your orion rot installation directory: java -jar autoupdate.jar > 2. Where can I find this document on "Ernst de Haan's approach"? http://www.znerd.demon.nl/orion-primer/ http://www.jollem.com/orion-cmp-primer/ -- Chris Woods [EMAIL PROTECTED] ICQ #21740987 AIM GnarlyBob69
Re: How to use EJB2.0 on Orion
need to pay i believe as we have 1.3.3 licensed version sanjay - Original Message - From: "S.Badrinarayanan" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 21, 2000 1:00 PM Subject: RE: How to use EJB2.0 on Orion > I am intersted in 2 points mentioned below: > 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only 1.2.9 as the latest. > 2. Where can I find this document on "Ernst de Haan's approach"? > > Any help... > > Thanks > sb > > On Thu, 21 September 2000, Magnus Rydin wrote: > > > > > > > > > > > > > Hopefully, the future documentation that will look at one piece at the time, will make this application more usefull. > > The way it is right now, is more for advanced users to find an example of a certain functionality. > > It will continue to include as many functions as possible, but it will be given a documentation to make life easier for ppl. > > > > > WR > > > > > > > -----Original Message- > > > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > > > Sent: den 21 september 2000 05:21 > > > To: Orion-Interest > > > Subject: Re: How to use EJB2.0 on Orion > > > > > > > > > Yeah, I know - and the example apps are good, but they're > > > more than I'd > > > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > > > Ernst de Haan's approach - he covers one area and tries not > > > to dress it > > > too much. "Here I'll cover creating a simple app." "Here I'll > > > create a CMP > > > bean and use it." The ATM is good, but it does *everything* - > > > which makes > > > learning individual elements more difficult than it could be > > > if you had, > > > for example, an OR-mapping application or a security model > > > application. > > > > > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > > > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > > > has the EJB2.0 based ATM application :-) > > > > > > > > Vimal > > > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > > > a draft. Personally, > > > > > I'm mucking about with it a bit, and the parts I'm > > > > > most interested in - > > > > > the OR mapping - I've not really covered, so I'm in > > > > > the same boat of > > > > > wanting more information, but let's be real about > > > > > it. It's not there > > > > > unless we generate it ourselves; we can't expect the > > > > > Orion team to do > > > > > everything for us (we *are* developers, right?) so > > > > > instead of griping > > > > > about it, read the draft. Play with it. Try things > > > > > out. Tell others about > > > > > it, so we can ALL learn. (If I see stuff on it that > > > > > I think is useful, as > > > > > soon as the infrastructure is done for the new > > > > > orionsupport, I'll put it > > > > > online.) > > > > > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > > > > > >I have been sending this mail for quite > > > > > > >some time but to no avail. > > > > > > > > > > > > well, maybe there IS no avail. Not many of us have > > > > > done EJB 2.0 yet, and as > > > > > > far as the orion core team goes, I hope (!!) they > > > > > are busy writing > > > > > > documentation for the basic stuff (and improving > > > > > orion in their spare time). > > > > > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > Joseph B. Ottinger > > > > > [EMAIL PROTECTED] > > > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > > > Developer > > > > > > > > > > > > > > > > > > > > > > __ > > > > Do You Yahoo!? > > > > Send instant messages & get email alerts with Yahoo! Messenger. > > > > http://im.yahoo.com/ > > > > > > > > > > > > > > --- > > > Joseph B. Ottinger [EMAIL PROTECTED] > > > http://cupid.suninternet.com/~joeo HOMES.COM Developer > > > > > > > > > > > > > > Chequemail.com - a free web based e-mail service that also pays!!! > http://www.chequemail.com >
RE: How to use EJB2.0 on Orion
On 21 Sep 2000, S.Badrinarayanan wrote: > I am intersted in 2 points mentioned below: > 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only >1.2.9 as the latest. The way to *always* get the current version is: java -jar autoupdate.jar > 2. Where can I find this document on "Ernst de Haan's approach"? Ernst de Haan's tutorials can be found on www.jollem.com. > > Any help... > > Thanks > sb > > On Thu, 21 September 2000, Magnus Rydin wrote: > > > > > > > > > > > > > Hopefully, the future documentation that will look at one piece at the time, will >make this application more usefull. > > The way it is right now, is more for advanced users to find an example of a certain >functionality. > > It will continue to include as many functions as possible, but it will be given a >documentation to make life easier for ppl. > > > > > WR > > > > > > > -Original Message----- > > > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > > > Sent: den 21 september 2000 05:21 > > > To: Orion-Interest > > > Subject: Re: How to use EJB2.0 on Orion > > > > > > > > > Yeah, I know - and the example apps are good, but they're > > > more than I'd > > > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > > > Ernst de Haan's approach - he covers one area and tries not > > > to dress it > > > too much. "Here I'll cover creating a simple app." "Here I'll > > > create a CMP > > > bean and use it." The ATM is good, but it does *everything* - > > > which makes > > > learning individual elements more difficult than it could be > > > if you had, > > > for example, an OR-mapping application or a security model > > > application. > > > > > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > > > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > > > has the EJB2.0 based ATM application :-) > > > > > > > > Vimal > > > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > > > a draft. Personally, > > > > > I'm mucking about with it a bit, and the parts I'm > > > > > most interested in - > > > > > the OR mapping - I've not really covered, so I'm in > > > > > the same boat of > > > > > wanting more information, but let's be real about > > > > > it. It's not there > > > > > unless we generate it ourselves; we can't expect the > > > > > Orion team to do > > > > > everything for us (we *are* developers, right?) so > > > > > instead of griping > > > > > about it, read the draft. Play with it. Try things > > > > > out. Tell others about > > > > > it, so we can ALL learn. (If I see stuff on it that > > > > > I think is useful, as > > > > > soon as the infrastructure is done for the new > > > > > orionsupport, I'll put it > > > > > online.) > > > > > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > > > > > >I have been sending this mail for quite > > > > > > >some time but to no avail. > > > > > > > > > > > > well, maybe there IS no avail. Not many of us have > > > > > done EJB 2.0 yet, and as > > > > > > far as the orion core team goes, I hope (!!) they > > > > > are busy writing > > > > > > documentation for the basic stuff (and improving > > > > > orion in their spare time). > > > > > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > Joseph B. Ottinger > > > > > [EMAIL PROTECTED] > > > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > > > Developer > > > > > > > > > > > > > > > > > > > > > > __ > > > > Do You Yahoo!? > > > > Send instant messages & get email alerts with Yahoo! Messenger. > > > > http://im.yahoo.com/ > > > > > > > > > > > > > > --- > > > Joseph B. Ottinger [EMAIL PROTECTED] > > > http://cupid.suninternet.com/~joeo HOMES.COM Developer > > > > > > > > > > > > > > Chequemail.com - a free web based e-mail service that also pays!!! > http://www.chequemail.com > > --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer
RE: How to use EJB2.0 on Orion
I am intersted in 2 points mentioned below: 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only 1.2.9 as the latest. 2. Where can I find this document on "Ernst de Haan's approach"? Any help... Thanks sb On Thu, 21 September 2000, Magnus Rydin wrote: > > > > > > > > > > > Hopefully, the future documentation that will look at one piece at the time, will make this application more usefull. > The way it is right now, is more for advanced users to find an example of a certain functionality. > It will continue to include as many functions as possible, but it will be given a documentation to make life easier for ppl. > > WR > > > > -Original Message- > > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > > Sent: den 21 september 2000 05:21 > > To: Orion-Interest > > Subject: Re: How to use EJB2.0 on Orion > > > > > > Yeah, I know - and the example apps are good, but they're > > more than I'd > > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > > Ernst de Haan's approach - he covers one area and tries not > > to dress it > > too much. "Here I'll cover creating a simple app." "Here I'll > > create a CMP > > bean and use it." The ATM is good, but it does *everything* - > > which makes > > learning individual elements more difficult than it could be > > if you had, > > for example, an OR-mapping application or a security model > > application. > > > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > > has the EJB2.0 based ATM application :-) > > > > > > Vimal > > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > > a draft. Personally, > > > > I'm mucking about with it a bit, and the parts I'm > > > > most interested in - > > > > the OR mapping - I've not really covered, so I'm in > > > > the same boat of > > > > wanting more information, but let's be real about > > > > it. It's not there > > > > unless we generate it ourselves; we can't expect the > > > > Orion team to do > > > > everything for us (we *are* developers, right?) so > > > > instead of griping > > > > about it, read the draft. Play with it. Try things > > > > out. Tell others about > > > > it, so we can ALL learn. (If I see stuff on it that > > > > I think is useful, as > > > > soon as the infrastructure is done for the new > > > > orionsupport, I'll put it > > > > online.) > > > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > > > >I have been sending this mail for quite > > > > > >some time but to no avail. > > > > > > > > > > well, maybe there IS no avail. Not many of us have > > > > done EJB 2.0 yet, and as > > > > > far as the orion core team goes, I hope (!!) they > > > > are busy writing > > > > > documentation for the basic stuff (and improving > > > > orion in their spare time). > > > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > Joseph B. Ottinger > > > > [EMAIL PROTECTED] > > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > > Developer > > > > > > > > > > > > > > > > > __ > > > Do You Yahoo!? > > > Send instant messages & get email alerts with Yahoo! Messenger. > > > http://im.yahoo.com/ > > > > > > > > > > --- > > Joseph B. Ottinger [EMAIL PROTECTED] > > http://cupid.suninternet.com/~joeo HOMES.COM Developer > > > > > > > > Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.com
RE: How to use EJB2.0 on Orion
I am intersted in 2 points mentioned below: 1. How do I get the 1.3.8 version; their server (www.orionserver.com) shows only 1.2.9 as the latest. 2. Where can I find this document on "Ernst de Haan's approach"? Any help... Thanks sb On Thu, 21 September 2000, Magnus Rydin wrote: > > > > > > > > > > > Hopefully, the future documentation that will look at one piece at the time, will make this application more usefull. > The way it is right now, is more for advanced users to find an example of a certain functionality. > It will continue to include as many functions as possible, but it will be given a documentation to make life easier for ppl. > > WR > > > > -Original Message- > > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > > Sent: den 21 september 2000 05:21 > > To: Orion-Interest > > Subject: Re: How to use EJB2.0 on Orion > > > > > > Yeah, I know - and the example apps are good, but they're > > more than I'd > > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > > Ernst de Haan's approach - he covers one area and tries not > > to dress it > > too much. "Here I'll cover creating a simple app." "Here I'll > > create a CMP > > bean and use it." The ATM is good, but it does *everything* - > > which makes > > learning individual elements more difficult than it could be > > if you had, > > for example, an OR-mapping application or a security model > > application. > > > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > > has the EJB2.0 based ATM application :-) > > > > > > Vimal > > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > > a draft. Personally, > > > > I'm mucking about with it a bit, and the parts I'm > > > > most interested in - > > > > the OR mapping - I've not really covered, so I'm in > > > > the same boat of > > > > wanting more information, but let's be real about > > > > it. It's not there > > > > unless we generate it ourselves; we can't expect the > > > > Orion team to do > > > > everything for us (we *are* developers, right?) so > > > > instead of griping > > > > about it, read the draft. Play with it. Try things > > > > out. Tell others about > > > > it, so we can ALL learn. (If I see stuff on it that > > > > I think is useful, as > > > > soon as the infrastructure is done for the new > > > > orionsupport, I'll put it > > > > online.) > > > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > > > >I have been sending this mail for quite > > > > > >some time but to no avail. > > > > > > > > > > well, maybe there IS no avail. Not many of us have > > > > done EJB 2.0 yet, and as > > > > > far as the orion core team goes, I hope (!!) they > > > > are busy writing > > > > > documentation for the basic stuff (and improving > > > > orion in their spare time). > > > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > Joseph B. Ottinger > > > > [EMAIL PROTECTED] > > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > > Developer > > > > > > > > > > > > > > > > > __ > > > Do You Yahoo!? > > > Send instant messages & get email alerts with Yahoo! Messenger. > > > http://im.yahoo.com/ > > > > > > > > > > --- > > Joseph B. Ottinger [EMAIL PROTECTED] > > http://cupid.suninternet.com/~joeo HOMES.COM Developer > > > > > > > > Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.com
RE: How to use EJB2.0 on Orion
Title: RE: How to use EJB2.0 on Orion Hopefully, the future documentation that will look at one piece at the time, will make this application more usefull. The way it is right now, is more for advanced users to find an example of a certain functionality. It will continue to include as many functions as possible, but it will be given a documentation to make life easier for ppl. WR > -Original Message- > From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > Sent: den 21 september 2000 05:21 > To: Orion-Interest > Subject: Re: How to use EJB2.0 on Orion > > > Yeah, I know - and the example apps are good, but they're > more than I'd > like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like > Ernst de Haan's approach - he covers one area and tries not > to dress it > too much. "Here I'll cover creating a simple app." "Here I'll > create a CMP > bean and use it." The ATM is good, but it does *everything* - > which makes > learning individual elements more difficult than it could be > if you had, > for example, an OR-mapping application or a security model > application. > > On Wed, 20 Sep 2000, Vimal Kansal wrote: > > > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > > has the EJB2.0 based ATM application :-) > > > > Vimal > > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > > Don't forget that EJB 2.0 isn't a standard yet. It's > > > a draft. Personally, > > > I'm mucking about with it a bit, and the parts I'm > > > most interested in - > > > the OR mapping - I've not really covered, so I'm in > > > the same boat of > > > wanting more information, but let's be real about > > > it. It's not there > > > unless we generate it ourselves; we can't expect the > > > Orion team to do > > > everything for us (we *are* developers, right?) so > > > instead of griping > > > about it, read the draft. Play with it. Try things > > > out. Tell others about > > > it, so we can ALL learn. (If I see stuff on it that > > > I think is useful, as > > > soon as the infrastructure is done for the new > > > orionsupport, I'll put it > > > online.) > > > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > > > >I have been sending this mail for quite > > > > >some time but to no avail. > > > > > > > > well, maybe there IS no avail. Not many of us have > > > done EJB 2.0 yet, and as > > > > far as the orion core team goes, I hope (!!) they > > > are busy writing > > > > documentation for the basic stuff (and improving > > > orion in their spare time). > > > > > > > > regards > > > > > > > > > > > > > > > > > > > > --- > > > Joseph B. Ottinger > > > [EMAIL PROTECTED] > > > http://cupid.suninternet.com/~joeo HOMES.COM > > > Developer > > > > > > > > > > > > __ > > Do You Yahoo!? > > Send instant messages & get email alerts with Yahoo! Messenger. > > http://im.yahoo.com/ > > > > > > --- > Joseph B. Ottinger [EMAIL PROTECTED] > http://cupid.suninternet.com/~joeo HOMES.COM Developer > >
RE: How to use EJB2.0 on Orion
Title: RE: How to use EJB2.0 on Orion Vimal, you can download the ATM for EJB 2.0 from http://www.orionserver.com/orion/applications/atm.ear WR > -Original Message- > From: Vimal Kansal [mailto:[EMAIL PROTECTED]] > Sent: den 20 september 2000 19:19 > To: Orion-Interest > Subject: How to use EJB2.0 on Orion > > > Please for God's sake some benevolent soul do reply to > this mail. I have been sending this mail for quite > some time but to no avail. Can somebody send me the > source code of EJB2.0 based ATM example or any other > example of how to use EJB2.0 on Orion. > I am running version 1.3.1 and the ATM that has come > with this is still EJB1.1 based. > > TIA > > Vimal > > __ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ >
RE: How to use EJB2.0 on Orion
Title: RE: How to use EJB2.0 on Orion Well, its basically my fault. The ATM has been running EJB 2.0 since the night it was implemented in Orion, I just thought I should do an effort to document the application before putting it up there for public access. Anyway, as previously said, its now available at http://www.orionserver.com/orion/applications/atm.ear Please notice that it will change over time, whenever a new part of EJB 2.0 or Servlet 2.3 is implemented. WR > -Original Message- > From: Christian Sell [mailto:[EMAIL PROTECTED]] > Sent: den 20 september 2000 21:41 > To: Orion-Interest > Subject: Re: How to use EJB2.0 on Orion > > > >I have been sending this mail for quite > >some time but to no avail. > > well, maybe there IS no avail. Not many of us have done EJB > 2.0 yet, and as > far as the orion core team goes, I hope (!!) they are busy writing > documentation for the basic stuff (and improving orion in > their spare time). > > regards > >
RE: How to use EJB2.0 on Orion
Doesn't the use of the Address dependent object in the Person remote interface violate section 9.4.11 of the EJB2.0 spec? Specifically: - The Bean Provider must not expose the dependent object classes or the persistent Collection classes that are used in container managed relationships through the remote interface of the bean. This means that the get and set methods of the entity bean's abstract persistence schema must not be exposed through the remote interface of the entity bean except in the following cases: * When the relationship is defined as a one-to-one or many-to-one relationship between two entity beans. * When the get and set accessor methods are methods for a cmp-field. Set accessor methods cor-responding to primary key fields, however, should not be exposed in the remote interface of the bean. - and... - Although dependent object classes cannot be exposed in the remote interface, the Bean Provider can use the accessor methods to obtain instances of these persistent classes (including the collection classes that correspond to relationships), and can copy data to or from these instances to instances of the classes that are exposed in the remote interface. - Unless I'm mistaken (no way, never happens :-), you need to copy the Address data to a detail object before returning it. Jeff > -Original Message- > From: Nick Newman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 20, 2000 3:02 PM > To: Orion-Interest > Subject: Re: How to use EJB2.0 on Orion > > > I gather the ATM EJB 2.0 app is out now - but perhaps a very > simple app > will still be useful. See attached. > > The only problem I have had with EJB 2.0 in Orion is trying > to do a 1-1 > mapping to a dependent class. > > Nick
Re: How to use EJB2.0 on Orion
>> well, maybe there IS no avail. Not many of us have done EJB 2.0 yet, and as >> far as the orion core team goes, I hope (!!) they are busy writing >> documentation for the basic stuff (and improving orion in their spare time). actually, I was trying to refer to documentation that covers the basic orion-specific items that one runs across when first installing and running it. I dont think we need EJB 2.0 doc from orion that badly. And I think it is perfectly OK to require a thorough knowledge of the specs on the side of us developers..
Re: How to use EJB2.0 on Orion
Yeah, I know - and the example apps are good, but they're more than I'd like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like Ernst de Haan's approach - he covers one area and tries not to dress it too much. "Here I'll cover creating a simple app." "Here I'll create a CMP bean and use it." The ATM is good, but it does *everything* - which makes learning individual elements more difficult than it could be if you had, for example, an OR-mapping application or a security model application. On Wed, 20 Sep 2000, Vimal Kansal wrote: > I jsu upgraded to Orion 1.3.8. And guess what ? :- it > has the EJB2.0 based ATM application :-) > > Vimal > --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > > Don't forget that EJB 2.0 isn't a standard yet. It's > > a draft. Personally, > > I'm mucking about with it a bit, and the parts I'm > > most interested in - > > the OR mapping - I've not really covered, so I'm in > > the same boat of > > wanting more information, but let's be real about > > it. It's not there > > unless we generate it ourselves; we can't expect the > > Orion team to do > > everything for us (we *are* developers, right?) so > > instead of griping > > about it, read the draft. Play with it. Try things > > out. Tell others about > > it, so we can ALL learn. (If I see stuff on it that > > I think is useful, as > > soon as the infrastructure is done for the new > > orionsupport, I'll put it > > online.) > > > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > > > >I have been sending this mail for quite > > > >some time but to no avail. > > > > > > well, maybe there IS no avail. Not many of us have > > done EJB 2.0 yet, and as > > > far as the orion core team goes, I hope (!!) they > > are busy writing > > > documentation for the basic stuff (and improving > > orion in their spare time). > > > > > > regards > > > > > > > > > > > > > > --- > > Joseph B. Ottinger > > [EMAIL PROTECTED] > > http://cupid.suninternet.com/~joeo HOMES.COM > > Developer > > > > > > > __ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ > > --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer
RE: How to use EJB2.0 on Orion
Hi, have the same problem as nick. When i have an 1-1 relationship to a dependent orion throws errors which arise due to the following. (1) it creates its own dependent classes which should be concrete implementations but they are also abstract so throws error when returning objects ( this is new problem in 1.3.8, 1.3.6 did not have this trouble. (2) internally it tries to assign the the dependent class created by orion to the dependent class and throws classcastexception i dont know whether this is a bug or a problem with mine. anybody has any idea? plus can someone tell me how to refer to beans deployed in another ejb-jar file in relationships? thanks much, Krishnan -Original Message- From: Vimal Kansal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 20, 2000 4:04 PM To: Orion-Interest Subject: Re: How to use EJB2.0 on Orion EVen if you specify the multiplicity other than 1? vimal --- Nick Newman <[EMAIL PROTECTED]> wrote: > I gather the ATM EJB 2.0 app is out now - but > perhaps a very simple app > will still be useful. See attached. > > The only problem I have had with EJB 2.0 in Orion is > trying to do a 1-1 > mapping to a dependent class. > > Nick > > At 12:43 PM 9/20/00 -0700, you wrote: > >Thanks a lot Nick. Can you also send me a sample > code > >or whatever and moreoever, have you yourself been > able > >to get this stuff working on Orion? > > > >Vimal > > > ATTACHMENT part 2 application/zip name=ejb2.zip; x-mac-type=705A4950; x-mac-creator=705A4950 __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Re: How to use EJB2.0 on Orion
EVen if you specify the multiplicity other than 1? vimal --- Nick Newman <[EMAIL PROTECTED]> wrote: > I gather the ATM EJB 2.0 app is out now - but > perhaps a very simple app > will still be useful. See attached. > > The only problem I have had with EJB 2.0 in Orion is > trying to do a 1-1 > mapping to a dependent class. > > Nick > > At 12:43 PM 9/20/00 -0700, you wrote: > >Thanks a lot Nick. Can you also send me a sample > code > >or whatever and moreoever, have you yourself been > able > >to get this stuff working on Orion? > > > >Vimal > > > ATTACHMENT part 2 application/zip name=ejb2.zip; x-mac-type=705A4950; x-mac-creator=705A4950 __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Re: How to use EJB2.0 on Orion
I gather the ATM EJB 2.0 app is out now - but perhaps a very simple app will still be useful. See attached. The only problem I have had with EJB 2.0 in Orion is trying to do a 1-1 mapping to a dependent class. Nick At 12:43 PM 9/20/00 -0700, you wrote: >Thanks a lot Nick. Can you also send me a sample code >or whatever and moreoever, have you yourself been able >to get this stuff working on Orion? > >Vimal ejb2.zip
Re: How to use EJB2.0 on Orion
I jsu upgraded to Orion 1.3.8. And guess what ? :- it has the EJB2.0 based ATM application :-) Vimal --- "Joseph B. Ottinger" <[EMAIL PROTECTED]> wrote: > Don't forget that EJB 2.0 isn't a standard yet. It's > a draft. Personally, > I'm mucking about with it a bit, and the parts I'm > most interested in - > the OR mapping - I've not really covered, so I'm in > the same boat of > wanting more information, but let's be real about > it. It's not there > unless we generate it ourselves; we can't expect the > Orion team to do > everything for us (we *are* developers, right?) so > instead of griping > about it, read the draft. Play with it. Try things > out. Tell others about > it, so we can ALL learn. (If I see stuff on it that > I think is useful, as > soon as the infrastructure is done for the new > orionsupport, I'll put it > online.) > > On Wed, 20 Sep 2000, Christian Sell wrote: > > > >I have been sending this mail for quite > > >some time but to no avail. > > > > well, maybe there IS no avail. Not many of us have > done EJB 2.0 yet, and as > > far as the orion core team goes, I hope (!!) they > are busy writing > > documentation for the basic stuff (and improving > orion in their spare time). > > > > regards > > > > > > > > --- > Joseph B. Ottinger > [EMAIL PROTECTED] > http://cupid.suninternet.com/~joeo HOMES.COM > Developer > > __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
RE: How to use EJB2.0 on Orion
have you looked at this site www.znerd.demon.nl/orion-primer/ -Original Message- From: Vimal Kansal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 20, 2000 10:19 AM To: Orion-Interest Subject: How to use EJB2.0 on Orion Please for God's sake some benevolent soul do reply to this mail. I have been sending this mail for quite some time but to no avail. Can somebody send me the source code of EJB2.0 based ATM example or any other example of how to use EJB2.0 on Orion. I am running version 1.3.1 and the ATM that has come with this is still EJB1.1 based. TIA Vimal __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Re: How to use EJB2.0 on Orion
Don't forget that EJB 2.0 isn't a standard yet. It's a draft. Personally, I'm mucking about with it a bit, and the parts I'm most interested in - the OR mapping - I've not really covered, so I'm in the same boat of wanting more information, but let's be real about it. It's not there unless we generate it ourselves; we can't expect the Orion team to do everything for us (we *are* developers, right?) so instead of griping about it, read the draft. Play with it. Try things out. Tell others about it, so we can ALL learn. (If I see stuff on it that I think is useful, as soon as the infrastructure is done for the new orionsupport, I'll put it online.) On Wed, 20 Sep 2000, Christian Sell wrote: > >I have been sending this mail for quite > >some time but to no avail. > > well, maybe there IS no avail. Not many of us have done EJB 2.0 yet, and as > far as the orion core team goes, I hope (!!) they are busy writing > documentation for the basic stuff (and improving orion in their spare time). > > regards > > > --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer
RE: How to use EJB2.0 on Orion
Thanks a lot Krishnan Vimal --- Reddy Krishnan <[EMAIL PROTECTED]> wrote: > Vimal, > > 1.3.1 supports ejb2.0 beans in the ejb-jar.xml use > DOCTYPE as > Inc.//DTD Enterprise JavaBeans 1.1//EN" > "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"> > instead of ejb-jar_1_1.dtd. > > Follow the ejb2.0 specs on abstract get/set , > abstract bean class etc., and you will all > set. > > Sorry dont have ready example of ATM to send > alongwith. hope this helps > > Cheer up, > Krishnan > -Original Message- > From: Vimal Kansal [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 20, 2000 10:19 AM > To: Orion-Interest > Subject: How to use EJB2.0 on Orion > > > Please for God's sake some benevolent soul do reply > to > this mail. I have been sending this mail for quite > some time but to no avail. Can somebody send me the > source code of EJB2.0 based ATM example or any other > example of how to use EJB2.0 on Orion. > I am running version 1.3.1 and the ATM that has come > with this is still EJB1.1 based. > > TIA > > Vimal > > __ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! > Messenger. > http://im.yahoo.com/ > __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Re: How to use EJB2.0 on Orion
Thanks a lot Nick. Can you also send me a sample code or whatever and moreoever, have you yourself been able to get this stuff working on Orion? Vimal --- Nick Newman <[EMAIL PROTECTED]> wrote: > Perhaps the EJB 2.0 spec on javasoft would be a > place to start. The whole > thing is quite long, but Chapter 9 explains the new > persistence mechanism, > and that's probably all you need. The main > differences (but by no means > all the differences) are: > > 1) you need to specify the appropriate dtd at the > top of the ejb-jar.xml, > so that the first few lines look like: > > > Inc.//DTD J2EE > Application 1.2//EN" > "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"> > > 2) the "bean" class is abstract, and has pairs of > abstract get/set methods > instead of data fields for the persistent fields. > > Nick > > At 10:19 AM 9/20/00 -0700, you wrote: > >Please for God's sake some benevolent soul do reply > to > >this mail. I have been sending this mail for quite > >some time but to no avail. Can somebody send me the > >source code of EJB2.0 based ATM example or any > other > >example of how to use EJB2.0 on Orion. > >I am running version 1.3.1 and the ATM that has > come > >with this is still EJB1.1 based. > > > >TIA > > > >Vimal > > > >__ > >Do You Yahoo!? > >Send instant messages & get email alerts with > Yahoo! Messenger. > >http://im.yahoo.com/ > > __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Re: How to use EJB2.0 on Orion
>I have been sending this mail for quite >some time but to no avail. well, maybe there IS no avail. Not many of us have done EJB 2.0 yet, and as far as the orion core team goes, I hope (!!) they are busy writing documentation for the basic stuff (and improving orion in their spare time). regards
RE: How to use EJB2.0 on Orion
Vimal, 1.3.1 supports ejb2.0 beans in the ejb-jar.xml use DOCTYPE as http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"> instead of ejb-jar_1_1.dtd. Follow the ejb2.0 specs on abstract get/set , abstract bean class etc., and you will all set. Sorry dont have ready example of ATM to send alongwith. hope this helps Cheer up, Krishnan -Original Message- From: Vimal Kansal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 20, 2000 10:19 AM To: Orion-Interest Subject: How to use EJB2.0 on Orion Please for God's sake some benevolent soul do reply to this mail. I have been sending this mail for quite some time but to no avail. Can somebody send me the source code of EJB2.0 based ATM example or any other example of how to use EJB2.0 on Orion. I am running version 1.3.1 and the ATM that has come with this is still EJB1.1 based. TIA Vimal __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Re: How to use EJB2.0 on Orion
Perhaps the EJB 2.0 spec on javasoft would be a place to start. The whole thing is quite long, but Chapter 9 explains the new persistence mechanism, and that's probably all you need. The main differences (but by no means all the differences) are: 1) you need to specify the appropriate dtd at the top of the ejb-jar.xml, so that the first few lines look like: http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"> 2) the "bean" class is abstract, and has pairs of abstract get/set methods instead of data fields for the persistent fields. Nick At 10:19 AM 9/20/00 -0700, you wrote: >Please for God's sake some benevolent soul do reply to >this mail. I have been sending this mail for quite >some time but to no avail. Can somebody send me the >source code of EJB2.0 based ATM example or any other >example of how to use EJB2.0 on Orion. >I am running version 1.3.1 and the ATM that has come >with this is still EJB1.1 based. > >TIA > >Vimal > >__ >Do You Yahoo!? >Send instant messages & get email alerts with Yahoo! Messenger. >http://im.yahoo.com/