Hi All

I have a question just to verify that we are doing is ok in JBOSS !
I have a little scenario where we are using naormal JavaBeans no Enterprise
bean (Call it a vanilla bean!!) to implement a service in our program this
bean call some Entity EJB's. Which Trnsaction settings are set to Required
so they will create a transaction for themselves if none exists. Then We
have an Session benan that basically wraps the Service Class (Vanilla bean).

What I am realizing now is that these Vanilla classes of mine that is using
the Entity EJB's tell me they can not found the Remote + Home interfaces of
the Entity Beans. I get around this by putting these classes ()Home +
Remoeteinterfaces  in the lib\ext directory of JBoss - bit of a funny
because these classes(interfaces) are already in my deploy directory.... I
think this cause  some funnies to happen in our server.

Can I you this methodology in JBoss (We did a similar thing in Websphere no
problem). What is the correct way to extend the of JBoss classpath ???

Any ideas and reply's are welcome !

An Example of my Code is :

public class SessionObject{
        remoteMethod(Data data){
                VanillaObject obj = new VanillaObject();

                obj.doAction(data);                     
        }
}

public class VanillaObject{
        public void doAction(Data data){
                //call the CMP          
                DataCMP cmp = getRemote("name/Data");
                cmp.create(data);
        
        }
}


**********************************************************************

The information in this e-mail is confidential and is legally privileged.
It is intended solely for the addressee.  If this email is not intended for
you, you cannot copy, distribute, or disclose the included information
to any-one

If you are not the intended recipient please delete the mail. Whilst
all reasonable steps have been taken to ensure the accuracy and
integrity of all data transmitted electronically, no liability is accepted
if the data, for whatever reason, is corrupt or does not reach it's
intended destination.
All business is undertaken, subject to our standard trading conditions
which are available on request.

*******************************************************************

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to