Re: Castor and Orion (transactions)

2001-04-23 Thread Frank LaRosa
Rick, First thing you need to do is make sure your EJB implements the SessionSynchronization interface. That is, the class declaration for your EJB class should include implements SessionSynchronization. The second thing you're going to need to do is change your EJB from stateless to stateful.

Re: On large programming teams [RE: A Swedish Idea]

2001-04-22 Thread Frank LaRosa
Adding more programmers to a product early in its development cycle can pay off. You have to add them early enough to account for the learning curve, which slows down the project for a while as the new programmers learn and the old programmers take time to teach them. The mistake most

Re: A Swedish Idea

2001-04-19 Thread Frank LaRosa
What's the difference? We choose to write J2EE applications because J2EE is a community standard rather than a proprietary API. If Orion goes under, all it takes is a few new config files to deploy your app on another server. - Original Message - From: [EMAIL PROTECTED] To:

Re: How to connect to an Orion Ejb from outside?

2001-04-19 Thread Frank LaRosa
I can't speak specifically for CORBA, but you can most certainly access EJBs in an Orion server from stand-alone Java clients (not servlets). The correct method of obtaining the JNDI context when operating outside the container is not well documented, but I worked it out as follows: Hashtable ht

Re: parsePostData

2001-04-12 Thread Frank LaRosa
TED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frank LaRosa Sent: Monday, April 09, 2001 12:51 AM To: Orion-Interest Subject: parsePostData I'm having some trouble parsing form data in a JSP page. I'm using this code: Hashtable ht = HttpUtils.parsePostData( request.getContentLength(), re

Precompiling JSP files

2001-04-08 Thread Frank LaRosa
Hi, Forgive me if this is a naieve question, but I'm new to Orion and new to JSP. I'm wondering if there is a way I can compile JSP pages one at a time on the command line without deploying them to the Orion server. All I want to do is verify that there are no Java errors in the page, so it

parsePostData

2001-04-08 Thread Frank LaRosa
I'm having some trouble parsing form data in a JSP page. I'm using this code: Hashtable ht = HttpUtils.parsePostData( request.getContentLength(), request.getInputStream() ); The result is always a Hashtable with a size of zero, even though there should be data in the form. I posted the form

Re: Returning Collections from ejbFindXXX()

2001-04-03 Thread Frank LaRosa
The reason you're getting an exception is because the collection of Strings you return from your EJB method is not the same collection that the client receives. The client receives a collection of your EJB's remote interface class, and that is the class to which you should cast the results.

ejb-jar file location

2001-03-31 Thread Frank LaRosa
Hi, I'm just getting started with Orion, but I have experience with Weblogic server. I created a simple EJB jar file which I'd like to deploy on Orion and access via an external client. I'm stuck trying to figure out where I need to place my jar file in the server's directory structure and

Re: ejb-jar file location

2001-03-31 Thread Frank LaRosa
l. This will enable orion to find your server class. Now for the client to find it use application.xml and orion-application.xml. These files are under META-INF just below client root directory. If orion server is in a remote box modify jndi.properties accordingly. Cheers, Ash Frank LaRosa w