RE: sessions, inheritance and authorization

2000-11-05 Thread Jeff Schnitzer
From: Adam Winter [mailto:[EMAIL PROTECTED]] I'm not new to Java, but I am to EJB's and Orion's server. And I have a few questions concerning both of those. Hi! I was in your same shoes a few months ago. Welcome to the list, it's pretty cool here :-) First, assuming a web client,

RE: sessions, inheritance and authorization

2000-11-05 Thread Adam Winter
Thanks for your reply. In answer to your question... Second, does inheritance of Session Beans, work the same as other inheritance in Java? The answer is probably yes, but I've never seen this covered. Every EJB I've seen has extended EjbObject. Can I still have abstract super classes?

Re: Stateful Session timeout, JSPs

2000-11-05 Thread Joshua Goodall
This is an old thread, but I was browsing archives and had a contribution to make. Thomas Munro wrote: I have a (1) JSP session which stores a reference to (2) a stateful session EJB. If either times out, I want the user to be bounced to a page where they have to log in (again). The

Remote vs Local Method Call Optimization

2000-11-05 Thread Peter Delahunty
Hi Does anyone know if local/remote method calls from EJB to EJB are optimized on Orion. For example if Entity Bean A calls Entity Bean B and they are both located in the same app server (e.g. now a local call) then does orion optimize this call. What I mean is does orion know that the call is

Re: Remote vs Local Method Call Optimization

2000-11-05 Thread Robert Krueger
At 17:54 05.11.00 , you wrote: Hi Does anyone know if local/remote method calls from EJB to EJB are optimized on Orion. For example if Entity Bean A calls Entity Bean B and they are both located in the same app server (e.g. now a local call) then does orion optimize this call. What I mean is

RE: Remote vs Local Method Call Optimization

2000-11-05 Thread Peter Delahunty
Hi Robert how do you know this ? Also how does orion do this, will it just call methods normally in java when the Entity Beans are local. cheers -Original Message- From: Robert Krueger [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 05, 2000 7:08 PM To: Orion-Interest Subject: Re:

RE: BMP vs CMP with Orion

2000-11-05 Thread Frank Eggink
My personal trade off was: Why not CMP 2.0 style: - Too scared to use it for real as it is not even officially there ... Why choose for CMP 1.1? - CMP is more portable (across db's). - Working already towards EJB2.0. - The claim is CMP can be optimized better (I would be happy to know more

RE: Remote vs Local Method Call Optimization

2000-11-05 Thread Robert Krueger
At 20:42 05.11.00 , you wrote: Hi Robert how do you know this ? 1. I asked the orion guys 2. how else could it be that fast? 3. output of getClass() you'll get the wrapper class name that contains all the local stiff like db operations etc. Also how does orion do this, will it just call

RE: BMP vs CMP with Orion

2000-11-05 Thread Robert Krueger
At 22:23 05.11.00 , you wrote: My personal trade off was: Why not CMP 2.0 style: - Too scared to use it for real as it is not even officially there ... Why choose for CMP 1.1? - CMP is more portable (across db's). - Working already towards EJB2.0. - The claim is CMP can be optimized better (I

RE: BMP vs CMP with Orion

2000-11-05 Thread Cory Adams
Thanks for that update. Do you or does anyone else know of the MVC (model - view - control) pattern used with JSP - Servlets and EJB? I have read that a single servlet becomes that controlling mechanism to the EJBs. I wondering how that is done? Cory At 10:23 PM 11/5/00 +0100, Frank Eggink

Adding a site?

2000-11-05 Thread Thomas DeBruycker
Can someone explain to me (clearly) how to add another site to Orion? I have been successful in deploying EJBs and JSPs to the default-web-app location. But I can not figure out how to create another site. I have read all the earlier posting on how to do it but I continue to get the error:

RE: startup classes?

2000-11-05 Thread Andy_Frank/UDIG
Andrej,I would try to avoid using a startup class like Weblogic's statup class because it ties your solution to an application server.I would recommend create a getService() method for you service so that when it is called from another EJBor servlet it checks to see if the service is running and

RE: Stateful Session timeout, JSPs

2000-11-05 Thread Jeff Schnitzer
I'm a little puzzled by that opinion. Here is my take on the subject (sorry if this is ground that has already been covered): If you are using J2EE security, then the login information *must* be maintained by the container. If you are in a web environment, this is information is going to be

Re: Adding a site?

2000-11-05 Thread Gary Shea
Do you have the application defined in config/server.xml? For instance, application name="chat" path="/home/shea/work/rsrch/chat/test/stage/" / defines the application 'chat' so that when you use that name in the web-app element, it is associated with an

Getting Orion to run as a service under Windows 2000 using JNT

2000-11-05 Thread Kimberley Scott
Hiya, Thought I'd contribute rather than just sponging off all the bright minds in this list. Might be worth adding to the FAQ if it can be reproduced by someone else. When you install JDK1.3, you get a "jre" runtime directory installed within the JDK directory. If you have ever installed a

RE: writing to application.log from EJB

2000-11-05 Thread Mark
Mike, many thanks for the tip. I found an Interface called com.evermind.util.Logger, and a Class called com.evermind.util.LogEvent, which seems hopeful. But after some experimentation, I haven't found the right JNDI lookup for returning a Logger reference -- assuming there is one!. If you can

REPOST: Help with Finder query

2000-11-05 Thread Vidur Dhanda
Could someone please help me with this. It has become a big problem. Thanks, Vidur -- Hello, I need help with defining a finder query. Here's the set up: CMP DataWatchItem has a member String called name. Its primary key is GUID guid (a homegrown globally unique identifier, that is

RE: adding EJBs to the default app

2000-11-05 Thread Mike Cannon-Brookes
The application.xml that you're looking at is the 'Orion deployment file for the default web app' - ie it's an orion-application.xml file ;) Use the correct syntax for that (ie ejb-module I think) and it will work. In general I try not to put anything in the default web app or in the global

RE: writing to application.log from EJB

2000-11-05 Thread Gary Shea
On Today, Mark ([EMAIL PROTECTED]) wrote: Mike, many thanks for the tip. I found an Interface called com.evermind.util.Logger, and a Class called com.evermind.util.LogEvent, which seems hopeful. But after some experimentation, I haven't found the right JNDI lookup for returning a Logger