RE: Simple Java Doubts

2001-05-09 Thread Peter Delahunty
alternatively make the singleton stateless. Then you pass in everything you need when the method is called. Everything is a local varible and so has no threading problems. -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 6:41 PM To: Orion-Inter

Controlling the Class path order for XALAN

2001-02-09 Thread Peter Delahunty
Hi guys i am trying to run Xalan with Orion. However i am having some problems. i get "Namespace not supported by SAXParser" error. Now i have found that this is because jaxp.jar is also on the classpath. However Orion requires this to work. So to solve this problem i need to have jaxp.jar c

FW: ClassNotFoundExcpetion running xalan extensions under Orion app s erver

2001-02-09 Thread Peter Delahunty
Hi guys i am having problems now that you may know about. I am calling xalan from a servlet running under orion which is working ok. However in the xslt stylesheet that i am running through xalan i call out to a java class using the xalan extensions mechanism. This xslt works fine when i run

RE: User guide: My Comments

2001-01-07 Thread Peter Delahunty
i think you will all find that most of the questions you will ask can be answered by reading the Specs ie EJB, servlet, jsp etc. With the combination of these Specs (very important) the minimal orion documentation and the sample and tutorials you have all the documentation you need. You just have

I have solved the security problem in Orion

2000-11-15 Thread Peter Delahunty
Although a lot of you do not seem to be using security yet as no one has answered my posts, Well i have not solved it, it is a Bug. The bug is that a two or more security roles cannot have access to the same methods. for example say i have a method on Mybean called. methodA() and i have

Big Bug with the EJB security implementation

2000-11-14 Thread Peter Delahunty
> Hi > > I think i have found some major bugs with Orion Security. I have wrote a > small app to test things out. Can you have a look over things and tell me > if i am doing something wrong before i submit a bug report. :) > > > > First Bug: > > Orion throws an "OrionRemoteException" when a

RE: HELP: Security !!! How to do it.

2000-11-10 Thread Peter Delahunty
. -Original Message- From: Peter Delahunty [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 10:07 AM To: Orion-Interest Subject: HELP: Security !!! How to do it. Hi guys I don't know if anyone has done this yet but i want to connect to Orion from a Java application using

HELP: Security !!! How to do it.

2000-11-10 Thread Peter Delahunty
Hi guys I don't know if anyone has done this yet but i want to connect to Orion from a Java application using user authentication and authorisation. I have checked the archives but there is no solid advice there. My aim is to get a "username" and "password" from a user. Then i want to authe

RE: HIGH PRIORITY:Contact Information??????

2000-11-08 Thread Peter Delahunty
The contact i used for questions was Elin Bjällhage, [EMAIL PROTECTED] Then to buy orion just fill in the purchase form on the web site. If your wondering about versions like i was this is what Elin said. > Hello Peter, With the license you get 6 months of free upgrades so there will be no

RE: There has GOTTA be a BETTER way !!!!

2000-11-07 Thread Peter Delahunty
> Am I off base here, or are ejb's a lot more work? How can people talk about how EJB's "speed development time"?!? alot more work than what ? I to solve a problem using EJB's you should have a problem that EJB's were designed to solve. And so if you have one of those problems. Then EJB wi

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

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 l

RE: requestQueryString bug or not ?

2000-10-30 Thread Peter Delahunty
What control do you need, you need to elaborate more on what you are trying to do... ? -Original Message- From: Vlad Petric [mailto:[EMAIL PROTECTED]] Sent: Monday, October 30, 2000 2:33 PM To: Orion-Interest Subject: Re: requestQueryString bug or not ? So you're basically saying

RE: requestQueryString bug or not ?

2000-10-30 Thread Peter Delahunty
try this http://localhost/e2/tester.jsp?url=/myUrl/mypage.jsp¶m1=1¶m2=2 then when tester.jsp runs simply get the value of "url" and the other parameters. The other parameters should represent the parameters that go with the value of "url" so. so when you have the all the parameters . simply add

RE: Invalidating an Entity bean

2000-10-12 Thread Peter Delahunty
the situation is this. this is the current data model I have and entity bean called "Content" this repsents 1 row in a table called "content". The content enitity bean can have N number of images (corresponds to n number of rows in the images table) and N number of text blocks (corresponds to n

Invalidating an Entity bean

2000-10-12 Thread Peter Delahunty
Hi gurus How do I do this cleanly. I have and Entity that has attributes A,B,C and D. These attributes are all read from database tables. A and B are read from Table 1 C and D are read from Table 2 So I have Entity Bean 1, this is loaded by the app server (perhaps by a findByPrimaryKey) method

RE: EJB vs Servlets

2000-10-10 Thread Peter Delahunty
Hi Kevin You seem to be missing the big picture here. With using a Servlet engine for handling all your logic you are putting all your eggs the same basket. You may have partitioned your logic up in the servlet container envirionment (MVC) but this is only at class level. EJB gives you distinct p

RE: Accessin EJB from a stand alone client.

2000-09-19 Thread Peter Delahunty
create a file called jndi.properties and put it in your class path. the content of the the JNDI should look something like this. java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont extFactory java.naming.provider.url=ormi://localhost/MyApp java.naming.security.princ

RE: Creating tables in Hypersonic

2000-09-18 Thread Peter Delahunty
ce of Hypersonic that I was using with Orion. I instead wrote a "quick and dirty" JSP page using simple JDBC to do the same job. Just place it in the document root of your app and insert the correct username and password. It runs SQL commands such as CREATE TABLE. -Original Message--

ejb 2.0 examples

2000-09-18 Thread Peter Delahunty
is there any ejb2.0 examples available, i want to see examples of CMP entity beans with many to many relationships with dependent objects.

how to generate orion specific code first without deploying

2000-09-18 Thread Peter Delahunty
Hi i want to be able to generate orion classes and xml files without deploying my application on orion first. Currently i create my (ejb/xml stuff) etc then give it to orion. orion then generates all it's classes then deploys the application. well i just want to do the generating first. This

Creating tables in Hypersonic

2000-09-14 Thread Peter Delahunty
Hi i am currently developing using orion verion 1.2.9. This version comes with Hypersonic, so i want to use this with some enity beans. I want to create a BMP entity bean and so to do this i need to add my own tables in the Hypersonic database. So my question is how do i create tables in the i

RE: Corba from Orion

2000-06-28 Thread Peter Delahunty
k you could call corba objects from orion. -Original Message- From: David Sierra Fernandez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 5:12 PM To: Peter Delahunty Cc: Orion-Interest Subject: Re: Corba from Orion I think Orion supports RMI across servers but it doesn't su

Corba from Orion

2000-06-28 Thread Peter Delahunty
Can you call CORBA objects from within Orion using rmi/iiop

Java Pet store Demo (again)

2000-02-04 Thread Peter Delahunty
I haven't had time to try it yet. So has anyone managed to get the Java Pet Store demo working on Orion yet If so what did you do. Cheers :)

RE: Bug /w multithreading+EJB?

1999-11-24 Thread Peter Delahunty
My guess You cannot create a Thread object from an EJB. This is why you get ClassCastException because the Thread class cannot be in the namespace. Calling run will act as just a standard method. -Original Message- From: Rickard Öberg [mailto:[EMAIL PROTECTED]] Sent: Monday, November