Section 5.3.2 of the ejb1_1-spec.pdf talks about being able to call
EJBHome.remove(...) api to remove a session bean. When a remove is added to
the Cart in the sample ejb tutorial, the following exception is produced:
System/communication error: IO Error: Cannot invoke remove(Object
primaryKey)
I created a stateless session bean. My client creates the bean, and then
calls remove on the bean. Every time the bean is created by the client, a
new session object is created on the server (I know, because of a
System.out.println in the constructor of the bean). I thought sessions were
I created an EJB bean, and deployed it.
E:\work\orionjava -jar d:\java\orion\orion.jar
Auto-deploying ClassType... done.
Orion/0.9.4 initialized
Since I am not getting any error messages, I assume that everything went
fine. After this, I try to run the client to display the names of beans
jb.ClassType"
location="SHIT/ClassType" wrapper="EntityHomeWrapper1"
table="AUSTXDEV.CLASS_TYPES"
/entity-deployment
/enterprise-beans
assembly-descriptor
default-method-access
security-role-mapping impliesAll="t
Everything is deployed but, the home is not bound to the registry, or I
cannot find the home in the registry.
What configuration file do I need to check?
Thanks.
-AP_
od-name*/method-name
/method
trans-attributeNotSupported/trans-attribute
/container-transaction
/assembly-descriptor
/ejb-jar
What else do I need to do? Are there any other files to configure?
Thanks
-AP_
-Original Message-
From: Alex Paransky
Sent: Wednesday, Ma
Join the club. I have been trying to get some help on deploying a simple
EJB Bean for the last 3 days. There are no messages of exceptions from
ORION. Everything appears to deploy correctly, but I cannot find the 'home'
bound in to the naming space. At this point, I don't have the time,
I created and deployed an ejb using ejb-jar.xml. I created an
application-client.xml. However, no matter what name I use in
ejb-ref-name tag, I am unable to bind to it. I am able to bind directly
to the name given in the ejb-jar.xml.
For example if ejb-jar.xml contains:
Change deactivated="true" to deactivated="false" in principals.xml.
-AP_
-Original Message-
From: Frank Apap [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 27, 2000 2:21 PM
To: Orion-Interest
Subject: JNDI Question
I am trying to make a program that connects to my database using
When my jndi.properties contains:
java.naming.provider.url=ormi://localhost, I can bind to "jdbc/DefaultDS",
but not any of my application objects
When my jndi.properties contains:
java.naming.provider.url=ormi://localhost/citysearch, I can bind to
application objects, but not to jdbc/DefaultDS.
I have a resource which needs to be available for all the EJB objects to
use. I would like to create this resource and bind it in to JNDI context.
This is a singleton resource. I am not sure of how to accomplish this with
Orion. In other servers, there is a way to execute some "startup" code
I am trying the following code to start a client transaction:
Context context = new InitialContext();
UserTransaction utx = (UserTransaction)
context.lookup("java:comp/UserTransaction");
utx.begin();
I get an exception from Orion:
javax.naming.NameNotFoundException:
The method call to findByPrimaryKey to a CMP bean results in:
ejbFindByPrimaryKey followed by
ejbActivate followed by
ejbLoad followed by
ejbStore
I am a bit confused, why would ejbActivate and ejbStore be called. Since
this is right after server restart, there should not be an ejbActivate,
I just did a grep for all the source code which came with Orion, and there
are NO examples of client demarcated transactions. Would someone be so kind
to post an example of how a client can obtain a transaction? I tried to
sample code in the J2EE spec, but it did not work.
Thanks.
-AP_
ERROR:
Auto-deploying com/citysearch/ejb/ClassType... Error compiling
file:/E:/work/citysearch/com/citysearch/ejb/ClassType/: Variable contained
illegal space
Here is how my ejb-jar.xml looks like, when I remove the
primkey-field.../primkey-field I get the above mentioned error. When I
don't
When I use a "char" as one of the fields in my CMP, I get an error from
orion:
EntityBeanWrapper0.java:986: Method getChar(int) not found in interface
java.sql.ResultSet.
this.object.namespace = set.getChar(3);
^
Is it my imagination, but the minute any kind of complex finding is required
on an entity bean, CMP becomes useless. For example, I have entities called
EMPLOYEE, PERSON, and SEX (M/F/Other you know).
EMPLOYEE is a PERSON with SEX.
I have a function in EmployeeHome, findFemaleEmployees().
PROTECTED]
cc:
Subject: RE: Is CMP is useless?
I don't knowI never thought Employees and sex mixed that well
anyways
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Monday, April 03, 2000 9:04 PM
To: Orion-Interest
Subject
Orion 0.9.4, Windows NT, JDK 1.2.2-001
I have a Session bean which executes a finder on a BMP entity bean to return
an Enumeration to the client. I start two clients, which create a Session
bean, and call the method which starts the whole thing rolling. I notice,
that only ONE client is
I am trying to interface TOPLink with Orion. The last thing I need to do is
get an instance of javax.transaction.TransactionManager. How do I do this
in Orion?
Thanks.
-AP_
Does any one know how to get the TransactionManager from Orion?
-AP_
A good way to learn what the XML files do, is look at the J2EE
specification. There are standard files, which are not really documented in
Orion, but are documented to a great extend in the J2EE specification. Then
there are specific orion deployment files. These are not documented too
well,
I have a simple Session BEAN with 1 method which prints a message to the
server's console. I start two clients, each looks up the home and creates a
new session bean. They start calling the function in a tight loop. After
some time (100 to 500) calls one of the client stops calling. A bit
Use java -jar autoupdate.jar in the orion directory.
-AP_
-Original Message-
From: Garret Wilson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 7:51 AM
To: Orion-Interest
Subject: Orion 0.9.6 [was: Re: Error in ejbPassivate:
java.lang.InternalError: Werent current caller]
ng name="id" persistence-name="ownerId"
/
/fields
/cmp-field-mapping
/entity-ref
/cmp-field-mapping
/properties
/cmp-field-mapping
/value-mapping
/collection-mapping
/cmp-field-mapping
ejb-ref
one know what the problem is?
Thanks.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Monday, March 05, 2001 6:13 PM
To: Orion-Interest
Subject: RE: Problem retrieving dependents after Orion restart
Here is an excerpt from
of entities can have phones, but
since all the entities are identified with the same type of primary key, I
can store that in the 'ownerId' field in the phone table.
Thanks.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Monday, March
the same???
Anyways, it seems Orion is quite non-informative about semantical errors, so
I have entered a bug report about this issue (#349).
R.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: 6. marts 2001 04:59
To: Orion-Interest
one.
Jeff
-Original Message-----
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 10:37 PM
To: Orion-Interest
Subject: RE: Problem retrieving dependents after Orion restart
Has any one been able to get the Entity(1) to Dependent(N) relationship
working? I a
If I follow the documentation on http://orionsupport.com and configure
Apache as reverse proxy, how do I deal with SSL? In other words, if user is
trying to access https://www.bigcorp.com/myapp/index.jsp which is configured
to proxy to ORION, do I still need to install the SSL on the Orion
this?
Thanks for your help.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Wednesday, March 07, 2001 12:10 AM
To: Orion-Interest
Subject: Using Orion with Apache...
If I follow the documentation on http://orionsupport.com and configure
I am creating a finder which takes a type of Target object to find. So, my
home interface looks like this:
Collection findByTarget(Target o)
The SQL I want to ultimately generate should look something like this:
select * from myTable where id = ?1.getId();
Please note, that what's
I am trying to model a Person having many Phones with two Entity beans.
Person and Phone are both entity beans. But I do not want to allow anyone
to manipulate the Phone directly. I only want Person to be able to:
Person.addPhone(PhoneValue)
Person.removePhone(PhoneKey)
I am trying to implement Collection
findByTarget(Target t) throws FinderException, RemoteException, method using
Orion's CMP. My target is defined as follows:
public class Target implements java.io.Serializable
{
private long id;
private String for;
...
public long getId() {return
I start Orion 1.4.7 and then run my client. I get an exception. I run the
client again, this time it works correctly. The client does not have any
persistent state, so the "SAME" code and functions are executed every time.
The following trace shows, the first time I run, and then the second
I am trying to create a class than can be used to access the home of a
particular bean. For example, if I have an EJB called UserEntity, I would
create a special class called UserEntityHomeFinder which can be used to
easily obtain a home:
public class UserEntityHomeFinder {
private static
I have a client application which has META-INF with the following
application-client.xml definition:
application-client
ejb-ref
ejb-ref-nameejb/id/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homecom.indnet.model.id.IdSessionHome/home
remotecom.indnet.model.id.IdSession/remote
o
ejb-link where both are NOT the same string?
Thanks.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Thursday, March 15, 2001 2:11 PM
To: Orion-Interest
Subject: Problems with JNDI lookups of ejb-ref-name defined in
application-clien
b-ref-name
defined in application-client.xml from a client application...
Did you try looking up "java:comp/env/ejb/id" ?
WR
-Ursprungligt meddelande-
Frn: Alex Paransky [
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
S
prungligt meddelande- Från: Alex Paransky [mailto:[EMAIL PROTECTED]]
Skickat: den 15 mars 2001 14:11 Till: Orion-Interest Ämne: Problems
with JNDI lookups of ejb-ref-name defined in application-client.xml from a client application...
I have a client application which has META-INF w
your problem. From page 377 of Enterprise
JavaBeans, 2nd Edition (Oreilly):
"The ejb-link value must match one of the ejb-name values declared in the
same
deployment descriptor."
That is, it's only valid if you're using an ejb-jar.xml to define multiple
beans.
Jeff Hubbach.
Alex Para
This error message occurs when I have an application-client.xml without any
ejb-ref entities in there and orion server has been restarted prior to start
up of client. The second time around client works correctly.
Exception in thread "main" javax.naming.NamingException: Disconnected:
Unknown c
I have an entity called Account, and User. One Account can have many Users
(bi-directional relationship). When I add a new User to the Account, the
relationship table gets updated, but the AccountId field in the User table
is not updated. Is this normal? It thought that
Use java's runtime memory options to configure (-Xm -Xs).
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of McLellan,
Richard
Sent: Thursday, March 22, 2001 7:23 AM
To: Orion-Interest
Cc: Hogan, John
Subject: Orion Memory Configuration
Hello all,
as clients to other servers...
Hey Alex...How are you
Have you tried in WEB-INF/classes/META-INF/application-client.xml
Claudio
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Thursday, March 22, 2001 3:58 PM
To: Orion
PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Thursday, March 22, 2001 3:58 PM
To: Orion-Interest
Subject: RE: Question regarding servers as clients to other servers...
I have one application talking with another on a different server. In the
first application I try
PROTECTED]]On Behalf Of Alex Paransky
Sent: Thursday, March 22, 2001 5:25 PM
To: Orion-Interest
Subject: RE: Question regarding servers as clients to other servers...
Hi Claudio, what makes Orion look into WEB-INF/classes? To find the
META-INF?
Thanks
-AP_
-Original Message-
java.lang.NullPointerException: domain was null
at com.evermind.server.rmi.RMIServer.fw(JAX)
at com.evermind.server.rmi.RMIServer.e7(JAX)
at
com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(JAX)
at
Orion's documentation talks about specifying the java.naming.provider.url in
the following format:
java.naming.provider.url=ormi://localhost/domain (application)
At a different time, I was having a problem trying to connect one Orion
Server (JSP) to another Orion Server using
What is the maximum number of connections that you have configured your
database pool to? Could you be running out of connections? Are you
properly releasing the connections back to the pool, and closing results set
which might not be needed? During the time that the site is "frozen" (as
you
The problem, is that I AM connecting to ANOTHER server from a client. It's
just happends that the client is an Orion. Using
ApplicationInitialContextFactory attempts to read META-INF/application.xml,
but I need to specify ejb-ref, env-ref and other such entries which you
cannot be put into
I don't think that getting a NullPointerException when trying to use a
feature is complaint. I feel that the support of such a product is almost
as important as the product it's self. Any commercial company that cannot
support it's users, will fail. If there is not enouph people to support the
I have defined the following finder for the relationship (Account has many
Users) - (User has One Account):
query
query-method
method-namefindByAccountLogin/method-name
method-params
method-paramjava.lang.String/method-param
method-paramjava.lang.String/method-param
me
here...
Alex -
Is there any chance you could zip up a small amount of code that recreates
your problem? You had
better include examples of your orion config files too. Or at least if you
could provide lots of
information code snippets and the like - that would be great! Give us what
you can and we
Earl,
I was only replying to your message where you indicate:
"I suggest you try the
ApplicationInitialContextFactory instead of
theApplicationClientInitialContextFactory in your situation."
I was
only saying that using ApplicationInitialcontextFactory will not work in my
case. There is
Just like I can write a client that can connect to any server (after
specifying proper values to new InitialContext), I should be able to do the
same thing from any Java Code (with certain limitations). This should be
regardless of where the Java code is running. Why should I get a
Somewhere I read that Orion does not support client starting transactions.
Is my web-application considered a client? Can I start a transaction inside
of my web-application? What if web application is running on a server
different from my EJB application (using the RMI.XML configuration)?
Is it legal for session bean A to create session bean B, and pass it to
session bean C so that C can call on B?
For example, if A is acting as a controller, B is acting as a factory, and C
is acting as an algorithm. So a controller needs to execute an algorithm
which requires a factory as one
Does Orion support user home methods? I am trying to create a method in my
session bean, but I get the following exception from orion:
Error compiling
file:/C:/work/individualnetwork/deployment/development/symbiosis/enterprise/
server/service/: Invalid session-EJBHome interface method defined
Sorry, my bad. No home methods for sessions.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Monday, April 09, 2001 5:13 PM
To: Orion-Interest
Subject: Home methods...
Does Orion support user home methods? I am trying
We have been putting all our beans in a single ejb-jar.xml. However, it's
taking Orion noticably slower to deploy new changes. I am wondering what
(if any) problems associated with splitting each bean into it's own
ejb-jar.xml and treating it as an independent module. Any help would be
Hitesh, if you look at the documentation located at
http://www.orionserver.com/docs/web-site.xml.html you will notice that there
are few options available for the formatting of the output log. Here is
some text from this file:
access-log format="$ip - $user - [$time] '$request' $status $size"
We have developed a web application with our own user/group schema.
Creating a UserManager to map our schema seems pretty trivial. What we are
NOT clear on is how to tell Orion that a particular user has logged in.
For example, we start our application with a LOGIN.JSP page, which accepts
user
the
session, find the User object which I stored in there, and execute this call
with the user.login and user.password?
Thanks.
-AP_
-Original Message-
From: Tim Endres [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 3:04 PM
To: Orion-Interest
Cc: Alex Paransky
Subject: Re: How
rManager, which can either be your class or one
of the UserManagers that ship with Orion. DataSourceUserManager looks
up password and group information in a table.
Jeff
-Original Message-
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 3:20 PM
To: Orion-Interes
Can you post some code? The code of your Control bean, and the code of the
TestBean that you are creating. Also post the code for your primary key
classes.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris
Bergstresser
Sent: Sunday, April 15,
I am trying to breakup my one giant ejb-jar file into different multiple
ejb-jar files, and I was wondering if Orion supports relationships between
two Container Managed Entity beans in different ejb-jar files. Is there a
section in the SPEC that talks about this?
Thanks.
-AP_
The following exception occurs when I move to 1.4.8, but DOES NOT occur in
1.4.7:
Exception in thread main com.evermind.server.rmi.OrionRemoteException:
Transaction was rolled back: java.lang.InternalError: Was not in used mode
at
into
multiple, smaller, ejb-jar files for the purpose of managing and controlling
change. With over 100 EJBs a single ejb-jar becomes very unmanageable.
Are there any solutions to these problems?
Thanks.
Alex Paransky
Individualnetwork.com
Title: RE: ejb 2.0 proposed final draft #2 is out
Ooops,
my bad.
-AP_
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex
ParanskySent: Friday, April 27, 2001 12:37 PMTo:
Orion-InterestSubject: RE: ejb 2.0 proposed final draft #2 is
In this example, I have followed a one-to-one unidirectional relationship to
AddressEntity type. I seem to get a valid reference, but when I proceed to
execute a method (AddressEntity.getId() in this case), I get
NoSuchObjectException. The second time, it works correctly and I do not get
an
I have been able to do amazing things with Orion's OR mapping. What
specific problem are you having? As you have described:
Product - ProductType
Product - Supplier - Country
Product - Packing Unit
Attribute - AttributeType
Media - MediaType
Price - Currency
Price - ClientType
Price - SalesTax
We are looking at the header which orion returns, and it appears that there
is a : missing after the http//. Is this a bug. Is there something I can
do to put the colon after content location?
HTTP/1.1 200 OK
Date: Tue, 08 May 2001 16:52:18 GMT
Server: Orion/1.4.7
Content-Location:
1. Use synchronization with the synchronized keyword
2. Since a server cannot open an http port to the remote client, I don't
think HTTP can be used from the server side to notify client of changes.
Client would have to either:
a. Use polling, by making http requests every so often
b. Use
OOps, once more I spoke before looking. Orion 1.4.8 corrected this
problem
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Tuesday, May 08, 2001 10:02 AM
To: Orion-Interest
Subject: Colon missing from the Content-Location
I need to do something like this:
select sum(price) from lineitem;
I have an entity bean called LineItem, with a field called price
(getPrice()/setPrice(float)). How can I make this work with Orion?
Thanks.
-AP_
I am trying to use ejbSelect method, but getting the following exception:
Auto-deploying model (ejb-jar.xml had been touched since the previous
deployment)... Error compiling
C:\work\individualnetwork\deployment\development\symbiosis\enterprise\server
\model: Illegal abstrac
t method in
In HTTP world a single HttpServletRequest ties together execution of
multiple Servlets on the same http request. It is similar to the way a
Transaction ties together multiple API calls to various EJB objects. Like a
common thread, both HttpServletRequest and a Transaction meander through
Every time I deploy a bean, I seem to have to go into orion-ejb-jar and
update every new ejb-ref-name with the location attribute indicating where
on the naming tree the home can be found. If I don't do this, I get all
kind of lookup errors.
Is there a solution to this, or is this normal?
-AP_
There seems to be a SERIOUS bug in Orion 1.5.2. It turns out that you
cannot disable the max-tx-retries AT ALL!!! Setting it to 0 removes it as
a TAG from orion-ejb-jar.xml. The next time around, it adds
max-tx-retries=3. There is NO WAY to disable the max-tx-retries. This
seems like a
I have a home finder method with the following signature:
Collection findByTypes(TypeEntity[] types) throws RemoteException;
Is there a way to implement this method using CMP by either directly writing
the query in ejb-jar.xml, or using orion-ejb-jar.xml method? I am using
Orion 1.5.2.
Not everything using EJB has to BE an EJB. In your example, any kind of EJB
would be a poor choice for a port listener, due to the
passivation/activation constraints that you have to deal with. So:
a. If you choose to create a stateless session bean, the container could
create a number of
it work in orion?
Current OrionServer 1.5.2 is EJB2.0PFD1 compliant, not EJB2.0PFD2. Not
speaking for the developers, but merely surmising, I would suspect that
it will remain PFD1 until the spec is in final. No sense chasing a
rabit down the hole! =)
- scot
Alex Paransky wrote:
I read some
Instead of deploying on different path, how about deploying in a different
website on a different port?
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brian Thompson
Sent: Friday, July 20, 2001 8:02 AM
To: Orion-Interest
Subject: best way to build
That's strange, we have made extensive modifications to our orion-ejb-jar in
the area of query specifications, and they seem to persist ok. The thing we
could not get working is the max-tx-retry parameter keeps resetting to 3,
but Magnus said it was fixed in the next release, 1.5.3 I assume.
Inside of default-web-site.xml, what is the difference between indicating:
default-web-app application=default name=defaultWebApp /
AND
web-app application=default name=defaultWebApp root=/ /
Is there a functional difference between these two specifications?
Thanks.
-AP_
For some reason, I always have to specify the location= attribute on every
ejb-ref-name in orion-ejb-jar.xml. If I don't do this, the beans cannot
find each other through an ejb-ref tag. I am using the link tag in
ejb-jar.xml, but that does not translate into a location attribute in
I just spent 3 hours tracking a NullPointerException which occured during
deployment of an ejb-jar.xml (Orion 1.5.2 Windows 2000, JDK 1.3.1). For the
benefit of everyone else:
If you get a NullPointerException without any other messages from orion
during deployment, check to make sure that any
: 888-452-0399
textmsg: [EMAIL PROTECTED]
-Original Message-
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 6:51 PM
To: Orion-Interest
Subject: ORA-01000: maximum open cursors exceeded Exception
We have been using the server more frequently now
889 6840(R)
VoquetteDelivering Sound Information
-Original Message-
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 6:51 PM
To: Orion-Interest
Subject: ORA-01000: maximum open cursors exceeded Exception
We have been using the server more frequently now
();
for example, causes an error (because rs == null for example) then the
code would get thrown into the catch block and nothing else would get
closed. At the very least I would remove the try - catch that is inside
the finally block.
Cheers,
Dennis
Alex Paransky wrote:
We are not using any
for example) then the
code would get thrown into the catch block and nothing else would get
closed. At the very least I would remove the try - catch that is inside
the finally block.
Cheers,
Dennis
Alex Paransky wrote:
We are not using any direct connections to the database. We only use CMP
(in style of Andy Rooney)
I see everyone is starting their support sites for Orion. I think it's a
poor solution for something that's broken, mainly, this mailing list. How
many support sites do we actually have now? Why is it such a problem to
keep the mailing list up and running?
Now, we
You are missing the point. The list is broken most of the time. You send
your message at 6:21am, I get it at 7:32am. More than 1 hour later.
Sometimes, I get at 2 hours later, 20 hours later, 24 hours later. Many
times I don't get it at all. What good is it to have a list that you cannot
Make sure your default directory (the directory you are in) is JUST above
the META-INF where the application-client.xml resides. So if you are in the
default directory, and do a ls or DIR you will see META-INF. Then, start
your client from this directory regardless of where the client is
I am
not sure if your analysis is quite correct. The Group(1)-User(*)
relationship is not quite correct, since User might want to be in two groups at
the same time. For example, John can be in the group of Chemistry
Professor, as well as Substitute Teacher. Your relationship implies that a
1) It seemed to me that a class was merely a container of N groups. From
your example, it seems that group (chemistry professor) was just a
sub-group of a group called (Professor). In other words:
Professor
|
+-- Chemistry Professor
I was not aware of other fields in the Class, and this was
I have a piece of code that looks like this:
debug(Before);
for (int i = 0; i values.length; i++)
programValueEntityHome.create(us, attribute, values[i]);
debug(After);
For some reason an ejbLoad is sneaking into the picture. As you can see
from the following output, when Before prints
Orion is pretty good as far as keeping the relationships in
orion-ejb-jar.xml current. We have not been using BMP, but mostly 2.0 style
CMP, and this particular area has been working for us without a flaw.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
1 - 100 of 130 matches
Mail list logo