I've toyed with EJBs for quite a while, all the way back to 1.0. But so far
its been too cumbersome and offered little gain in most environments I've
been working in (e.g. the overhead of remote calls, etc, outweighed the
potential benefits).
Now with the 2.0 spec its gotten to a good place
On 28/12/01 12:56 pm, Aaron Tavistock [EMAIL PROTECTED] wrote:
So heres the story - database field names are case insensitive, so common
parlance for representing a space is an underscore (e.g. 'this_field').
Nope. MS SQLServer is not case insensitive. You could always tweak
orion-ejb-jar.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neither is Oracle. Oracle actually stores all its DB Fields upper case, but
it doesn't matter how you refer to then, meaning select column1 from Table
or select Column1 from table or select COLUMN1 FROM TABLE Doesn't make a
difference.
R
At
[EMAIL PROTECTED]; Aaron Tavistock
Subject: Re: [orion-interest]EJB2.0 spec or implementation?
On 28/12/01 12:56 pm, Aaron Tavistock [EMAIL PROTECTED] wrote:
So heres the story - database field names are case insensitive, so common
parlance for representing a space is an underscore (e.g
).
-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 12:32 PM
To: Aaron Tavistock; Orion-Interest [EMAIL PROTECTED]
Subject: Re: [orion-interest]EJB2.0 spec or implementation?
On 28/12/01 3:20 pm, Aaron Tavistock [EMAIL PROTECTED] wrote:
More
-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 10:26 AM
To: Orion-Interest [EMAIL PROTECTED]; Aaron Tavistock
Subject: Re: [orion-interest]EJB2.0 spec or implementation?
On 28/12/01 12:56 pm, Aaron Tavistock [EMAIL PROTECTED] wrote:
So heres the story
Hi,
I've tried a simple EJB2.0 Realationship with Orion 1.5.3 and it failed. For
me it seems that the orion server simply ignores my Relationship (no
additional fields or table is generated :-(((
Here's the snippet from my ejb-jar.xml
relationships
!-- This file is included by the process
Hi,
currently I have to decide wich way to go with a new EJB Project.
We need some App-Server independance so we have to decide if we should use
CMP with the EJB2.0 Relationships and QL or BMP with our own SQL-Statements.
Is there any information available when Orion will support EJB2.0
Is there any information available when Orion will support EJB2.0
and EJB QL
My thoughts on CMP vs BMP:
On my project I went with BMP + DAO patterns + business deligates
at the client tier that deligate reads to the much more efficient
DAO's (direct access to the DB) and updates
Does anybody know when we can expect to see the EJB2.0
features like , ejbSelect, local interfaces etc in
Orion ?
Thanks
Chris
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
...I would appreciate any links to a white paper or examples that show
transaction use in the session beans
Tx!
- Original Message -
From: "Jeff Schnitzer" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Monday, December 11, 2000 4:57 PM
Subject: RE: EJB2.0 Generated class uncompilable
FYI, as a workaround, you can make bidirectional relationships work by
m
- Original Message -
From: "Tim Drury" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, December 08, 2000 5:39 PM
Subject: RE: EJB2.0 Generated class uncompilable
Since your bean is called "Foo" I'm going to guess
that it is a tr
;
}
and so on for Identity, and all other fields
HTH
JP
-Original Message-
From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 11 de Diciembre de 2000 13:38
To: Orion-Interest
Subject: Re: EJB2.0 Generated class uncompilable
- Original Message -
From: "Tim Drury&qu
EJB2.0 DTD _is_ specified in ejb-jar.xml ...
ejb-jar.xml is:
-
?xml version="1.0"?
!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"
P.Pontbriand
Canlink Interactive Technologies Inc.
In EJB 2.0 gets/sets are declared abstract.
The container implements them for you.
-tim
-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 1:42 PM
To: Orion-Interest
Subject: RE: EJB2.0 Generated class uncompilable
geez
:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 10:43 AM
To: Orion-Interest
Subject: RE: EJB2.0 Generated class uncompilable
I don't think we've ever cleared up whether
this is needed or not:
in ejb-jar.xml:
entity
cmp-version2.x/cmp-version
...
Your bar ejb seems to reference
nt: Friday, December 08, 2000 4:03 PM
To: Orion-Interest
Subject: EJB2.0 Generated class uncompilable
Hello All.
We've just written our first pair of 2.0-spec EJBs and are
experiencing some
really strange problems deploying them. Orion 1.4.4
auto-generates the DB
tables for these b
I've been using EJB2.0 beans (including container managed relationships)
with considerable success for several months now. It works (mostly).
Don't give up :-)
I haven't seen that particular error message, but I have noticed that
occasionally Orion screws up the deployment and forgets
- Original Message -
From: "Peter Pontbriand" [EMAIL PROTECTED]
We've just written our first pair of 2.0-spec EJBs and are experiencing
some
really strange problems deploying them. Orion 1.4.4 auto-generates the DB
tables for these beans, but then spits out the following message for
use autoupdate or find it in
http://www.orionserver.com/orion/orion.jar
use at own risk! (actually, 1.4.4 is VERY stable)
-Original Message-
From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
Sent: Viernes, 08 de Diciembre de 2000 20:48
To: Orion-Interest
Subject: Re: EJB2.0 Generated
Hello All.
We've just written our first pair of 2.0-spec EJBs and are experiencing some
really strange problems deploying them. Orion 1.4.4 auto-generates the DB
tables for these beans, but then spits out the following message for every
CMP field in each EJB:
Take the version you have and do:
cd $ORION_HOME
java -jar autoupdate.jar
This will pull down the latest released build from Orion. Pretty sweet
feature.
Scott Stirling
West Newton, MA
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Serge
Knystautas
You might want to go to:
http://www.orionsupport.com
And grab the simple EJB 2.0 sample...
Jim
--On Friday, December 08, 2000 4:02 PM -0500 Peter Pontbriand
[EMAIL PROTECTED] wrote:
Hello All.
We've just written our first pair of 2.0-spec EJBs and are experiencing
some really strange
I am trying to learn EJB 2.0 with orion and am having
some problems getting a 1:1 dependant object to load. I
have traced it done to the dependant object, because if
i deploy the bean without the dependant object it
deploys fine. but when i try to deploy with the
dependant object i get this
And I just filed bug 153 reporting that EJB 2.0 dependent object
bidirectional relationships fail. I attached a sample program to the bug
for anyone who would like to try it out for themselves.
Jim
--On Monday, October 30, 2000 3:58 AM -0500 Jason Rimmer [EMAIL PROTECTED]
wrote:
I've
making extensive use of EJB2.0 beans.
Tim, you probably are missing something important in the deployment
descriptor. It's hard to say what without seeing it. Do you have
cmp-version 2.x /cmp-version
in your entity block? You should post your descriptor if you would
like further help
That's what I thought, but I cannot find the ejb2 DTD.
Can you point me in the right direction?
-tim
-Original Message-
From: Reddy Krishnan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 18, 2000 6:51 PM
To: Orion-Interest
Subject: RE: support EJB2.0 or not?
you
When I try to write a 2.0 compliant entity bean:
public abstract class ContactBean implement EntityBean
{
public abstract void setName(String s);
public abstract String getName();
...
}
Orion throws the error (at deployment):
... Bean class com.tfc.ejb.ContactBean must not be
: Wednesday, October 18, 2000 12:18 PM
To: Orion-Interest
Subject: support EJB2.0 or not?
When I try to write a 2.0 compliant entity bean:
public abstract class ContactBean implement EntityBean
{
public abstract void setName(String s);
public abstract String getName
I believe the difference is in which dtd you specify in the deployment
descriptor DOCTYPE
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim Drury
Sent: Wednesday, October 18, 2000 5:21 PM
To: Orion-Interest
Subject: RE: support EJB2.0
Hi All...
I'm using Orion 1.3.8 and EJB 2.0 for CMP.
I have written a fairley simple stateless session bean that's job is to
just create a particular entity bean and populate it. This session bean is
called from a servlet.
When the session bean calls create on the home interface object of
Hi All...
I'm trying to build the ATM example that came with Orion 1.3.8. The stupid
build question is, what do I have to put in the CLASSPATH to get it to
build? I can't get the AccountEJB.java file to build, since it can't find
javax.ejb.
I expect I don't include anything from the J2EE RI,
OOPS... Never mind. It was a stupid question.
Sorry for wasting your bandwidth.
Jim
--On Saturday, September 30, 2000 10:45 PM -0400 Jim Archer
[EMAIL PROTECTED] wrote:
Hi All...
I'm trying to build the ATM example that came with Orion 1.3.8. The
stupid build question is, what do I have
lto:[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 basicall
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
to be in META-INF (uppercase), like so:
META-INF/ejb-jar.xml
Hope this helps,
Matt
Vimal Kansal wrote:
Hi,
I am trying to deploy a very simple EJB2.0 bean. But
everytime I get the message :
unable to find/read assembly info for
emp.jar(META-INF/ejb-jar.xml)
I ahve also attached my jar file
,
Matt
Vimal Kansal wrote:
Hi,
I am trying to deploy a very simple EJB2.0 bean.
But
everytime I get the message :
unable to find/read assembly info for
emp.jar(META-INF/ejb-jar.xml)
I ahve also attached my jar file to this mail.
Please help me.
Vimal
-Interest
Subject: Re: Can't deploy EJB2.0 bean
I am looking on counter.jar through winzip on an NT
machine. Try doing it on an NT machine. Moreoever, I
checked my other jars which I deploy on weblogic
server, they also have meta-inf as against META-INF
and they work.
Vimal
--- Matthew Domarotsky
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
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
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
s 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 app
s 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 app
-
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 f
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
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
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. (Incidentall
lto:[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
lto:[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
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
nd 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
Vimal,
1.3.1 supports ejb2.0 beans in the ejb-jar.xml use DOCTYPE as
!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, 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
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
ds.
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
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
!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems,
Inc.//DTD Enterprise JavaBeans 1.1//EN"
"http://java.sun.com/j2ee/dtds/ejb-jar_2_
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
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
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
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
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 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
ion 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 -
th
Can somebody point to me in the right direction on how
to use EJB2.0 on Orion? I did update my Orion to 1.3.6
but still my ATM application is EJB1.1 stuff.Where is
the EJB2.0 version?
TIA
Vimal Kansal
__
Do You Yahoo!?
Yahoo! Mail - Free email
Can somebody show me some sample application on how to
setup/use EJB2.0 on orion.?
TIA
Vimal Kansal
__
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
Help, what am i doing wrong.
I cant get any CMR/CMP Beans to run. If tried it either using Orions OR
or the preliminary EJB2.0 way.
The database gets autocreated, I can create any EJB instances using
the Home interfaces. When i find a Parent with a Set of childs and
access that Set my client
66 matches
Mail list logo