Re: URGENT: talking with other app server?

2000-11-10 Thread James Ho
nd different networks within >the enterprise. > >Cory > > >At 10:33 PM 11/10/00 +1100, James Ho wrote: >>Hi there. >> >>What I am doing for a project, to allow different service providers to >>join my central service. Each of the service providers would have

Re: URGENT: talking with other app server?

2000-11-10 Thread James Ho
t;interfaces; >Always narrow Objects >>PortableRemoteObject.narrow (MyBean.Class)<< > >Perhaps if you elaborate further the List may be of assistance > >HTH, > >JP > >(P.S.: I hope you don't want to interact with Oracle App Servers, OAS or >IAS... for t

Re: URGENT: talking with other app server?

2000-11-10 Thread James Ho
Kesha Sibilev wrote: > > There is already such a common protocol. It is CORBA/IIOP. But as I know > Orion server does not support it yet. oic...then pls dis-regard my last post. When has that been specified? ie in which EJB/J2EE spec? james.

Re: URGENT: talking with other app server?

2000-11-10 Thread James Ho
"Juan Lorandi (Chile)" wrote: > > To connect different App servers (diff vendors) IIOP will be used > How can I do that with Orion? James

Re: URGENT: talking with other app server?

2000-11-09 Thread James Ho
u have to also provide the classpath for Weblogic to >get Initial Context factory >which can be >\classes . > > >- Original Message - >From: James Ho <[EMAIL PROTECTED]> >To: Orion-Interest <[EMAIL PROTECTED]> >Sent: Tuesday, November 07, 2000 9:31

URGENT: talking with other app server?

2000-11-06 Thread James Ho
Hi everyone. Is it possible for a servlet deployed in orion talk to other app server to access its beans? if so, how? what is the requirement? I have got Orion using JNDI to use another Orion's bean, my main concern is the fact that when initiating the JNDI context, I would have to setthe prop

choosing database for EJB use?

2000-11-01 Thread James Ho
Hi all... Can anyone pls tell me, is there any searching criteria for RDBMS for use with EJB/Orion and why? Is transactions support necessarily for CMPs? thanks heaps Regards, James.

Re: findByPrimaryKey() calling store()

2000-10-18 Thread James Ho
Hi Greg... According to Orion1.4.0's changes.txt it said: Optimized CMP entity stores to only store updated fields. I am not 100% sure what it means though..maybe it is what u are after... James. > Greg Matthews wrote: > > dear all, > > i have a jsp that calls findByPrimaryKey on an entit

Re: How does orionconsole do it?? (remote EJBs)

2000-10-11 Thread James Ho
text.PROVIDER_URL,"ormi://remoteserver"); > env.put(Context.SECURITY_PRINCIPAL,"admin"); > env.put(Context.SECURITY_CREDENTIALS,"123"); > context = new InitialContext(env); > > thisHome home; > > home = (thisHome) > PortableRemoteObject.narrow

Re: How does orionconsole do it?? (remote EJBs)

2000-10-08 Thread James Ho
--Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED]]On Behalf Of James Ho >> Sent: Sunday, October 08, 2000 11:10 AM >> To: Orion-Interest >> Subject: How does orionconsole do it?? (remote EJBs) >> >> >> Hi everyone, >> >>

How does orionconsole do it?? (remote EJBs)

2000-10-08 Thread James Ho
Hi everyone, I am currently trying to access an remote EJB from a servlet. I had this, in my code.. env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory"); env.put(Context.PROVIDER_URL,"orim://remoteserver/stamp"); env.put(Context.SECURITY_P

EJB ClassCastException problem

2000-09-25 Thread James Ho
Hi everyone, I have this problem when I try to get the home interface of the EJB, using a servlet to access EJBs from another application on the same server. When I call the PortableRemoteObject.narrow(..) method, it throws the exception: java.lang.ClassCastException: StampHome_EntityHomeWrap

RMIInitialContextFactory???

2000-09-25 Thread James Ho
, can anyone tell me what's the difference between the two? Thanks heaps, Regards, James Ho

Servlet+EJB problem still not solved. :((

2000-09-22 Thread James Ho
Hi all, I have a urgent problem regarding EJB and servlet, I cannot find the home interface of the bean from the servlet (whereas a standalone client works very well)...Can anyone pls give me some hint as to what maybe be wrong here? Below is the background info, sorry, it is kind of long... My

OR-mapping set up (with orion-ejb-jar.xml attached)

2000-09-21 Thread James Ho
Hi everyone. Here is the attached file, forgot to attached it in my last mail :P Thanks heaps. Regards, James. http://www.orionserver.com/dtds/orion-ejb-jar.dtd">

OR-Mapping set up.

2000-09-20 Thread James Ho
Hi, I have been trying to setup OR-Mapping, to represent a many-many relationship...I have been following the help from http://www.orionsupport.com/ejbormapping.html ANyway, here is what i have.. Country Bean, with primkey of String type. Supplier Bean with primkey of String type. In Supplier,

Re:

2000-09-19 Thread James Ho
On Mon, 18 Sep 2000 08:54:01 -0600, you wrote: Hi Nick, Um...I cannot have it as the same app...this is what my system looks like... EACH supplier, will have a EJB deployed, which can be called from this 'virtual supplier'. So the EJBs are deployed at the supplier's side, wheras the servlet is

Re: Deploying Servlet for EJB access, PLLLSS Help

2000-09-15 Thread James Ho
Hi there, what u said had solved my obtaining context problem...however, it still doesn't work. :( I already have an EJB deployed at mysite, with application name = 'stamp'...however, I have another site, which is where the servlet resides, say othersite. If in the servlet, I don't provide a pr

Deploying Servlet for EJB access, PLLLSS Help

2000-09-15 Thread James Ho
Hi everyone... I have some urgent problem for writing servlets to access remote EJBs, can anyone pls help me pls?? thanks heaps. In the init() method of the servlet, I had...

Re: EJB finder methods.

2000-08-28 Thread James Ho
Hi Paul I am a newbie in EJB...so don't know if this will really helps.. I guess u implement the finder methods in the bean class? and also modify the Home interface file to add that method in. Regards, James > Where do I specify my own finder methods in my entity bean. > ___

EJB deployment again, deploy at remote site?

2000-08-26 Thread James Ho
Hi all, I am having this little problem with deployment, hopefully someone can help me out thanks! :P (note: this is my university thesis..all these are purely made up..if anything sounds strange, pls tell me :P ) Here is the setup of my system, a internet hub (central server) and a list of s

EJB deployment example?

2000-08-22 Thread James Ho
Hi all, Anyone has any EJB deployment examples apart from the orion primer? I don't fully understand the orion primer...One of the main questions is "Where are the beans deployed?" I saw the source code for the servlet client that it is at "java:comp/env/ejb/HelloHome", but where is it defined?

EJB example - news

2000-08-20 Thread James Ho
hi there Can anyone pls tell me how to use the 'news' ejb example? what is the default login/passwd?? and how to add more users? regards, James

EJB examaples + data-sources

2000-08-14 Thread James Ho
Oops..here is the attachment from my last post. James. data-sources.xml

EJB examaples + data-sources

2000-08-14 Thread James Ho
Hi there. I have tried to setup EJB examples with PostreSQL, the attached is my data-source.xml. After I have set it up and add a user, when I run any example, it said the database 'database' is not found...so i manually created a database called database, using the user I have created. Then wh

Re: has anyone used ssl on linux w/orion?

2000-08-09 Thread James Ho
I did get server authenication to work...couldn't get client authenication to work.. :( I used JSSE+JDK1.2, on debain linux 2.2 (if that matters). Just basically follow the ssl-howto from orionserver.com.. James. On Wed, 9 Aug 2000 05:45:31 -0400 (EDT), you wrote: >I'm looking for proof that

Re: SSL on port 443... Anyone?

2000-08-07 Thread James Ho
Hi Dale, I have had that problem before too...My *guess* is because I don't have access rights to those ports, as I am just a normal user in my system...which to me, sounds reasonable. But that's just my guess. James. On Mon, 7 Aug 2000 13:35:53 -0400, you wrote: >Has anyone got SSL working

anything other than JSSE?? entrust??

2000-08-06 Thread James Ho
Hi there, Can anyone pls tell me if I can use something else (apart from JSSE) in order for SSL/HTTPS support in orion? I am looking at entrust (www.entrust.com) and cryptix+pureTLS Anyone have any experience with those? or any experience with setting another other products apart for JS