RE: [JBoss-user] JBoss verses Orion

2001-03-30 Thread Alexander Jerusalem

I'm not completely sure if this is the reason but there is this "one 
VM/classloader or multiple VMs/classloaders" distinction. I believe the 
important point is that Orion is an EJB *and* Servlet container whereas 
JBoss is only an EJB container. So if you use tomcat for example to run 
your Servlets all the calls to JBoss based EJBs will we marshalled by value 
by default whereas in Orion they will be transferred by reference. This 
makes a huge difference especially if the method you call for performance 
testing does essetially nothing.

There is, however, a way to configure the JBoss/tomcat (or JBoss/Jetty) 
combination so that this boundary is optimized away. With JBoss comes a 
sample application that you can call in two ways: either optimized or non 
optimized and the performance difference is aprox. 4 times or so. I think 
that this could be the difference you are seeing in your tests. You'll have 
to ask the JBoss experts to find out about how to configure JBoss so that 
it uses this optimization.

The other thing that I've heard is that tomcat is rather slow in compaison 
to Jetty. And I know that the Orion JSP/Servlet engine is pretty fast so 
you should maybe try the JBoss/Jetty combination for faster results.

Regards,
Alexander Jerusalem

At 00:44 31.03.01, Fink, Paul wrote:
>  Oh sorry I should have  said.
>
>Jboss 2.1 binary (down loaded March 22)
>
>Orion is 1.3.8
>
>-Original Message-
>From: Dan Christopherson
>To: 'jBoss'
>Cc: 'Orion-Interest'
>Sent: 3/30/01 3:21 PM
>Subject: Re: [JBoss-user] JBoss verses Orion
>
>What version of JBoss? If 2.1 (beta) the latest binary or a build from
>source? If source, what date? Earlier this year there were some
>performance problems stomped, but I haven't done any testing for
>performance.
>
>
>On Fri, 30 Mar 2001, Fink, Paul wrote:
>
> >
> > I ported our Orion application to JBoss. I love JBoss for
> > usability, documentation and support. Unfortunately our application is
>very
> > performance dependent the JBoss version ran very slow. After playing
>with
> > cache setting, etc. It seemed like the communications was the main
>bottle
> > neck.
> > To test this I wrote a simple session bean with one get method that
>returns
> > a Long.
> >
> > The client looped 10,000 times calling the getter. The Orion version
>was 6
> > times faster!
> > Other tests we ran had Orion running 4x faster.
> >
> > It seems that JBoss certainly is performance limited.
> >
> > I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3
> >
> >
> > Paul Fink
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>--
>Dan Christopherson (danch)
>nVisia Technical Architect (www.nvisia.com)
>
>Opinions expressed are mine and do not neccessarily reflect any
>position or opinion of nVISIA.
>
>
>---
>If you're a capitalist and you have the best goods and they're
>free, you don't have to proselytize, you just have to wait.
>-Eben Moglen
>
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user





Application clients

2001-02-22 Thread Alexander Jerusalem

Hi,

Can anyone tell what I have to do to use EJBs in Orion from an application 
client?

thanks,

Alexander Jerusalem
vknn
[EMAIL PROTECTED]





DTD versions

2001-02-22 Thread Alexander Jerusalem

Hi,

does anybody know what DTD version I should reference in my deployment 
descriptors? Those for EJB 1.1 or those for EJB 2.0 or what does that 
decision depend on?

thanks,

Alexander Jerusalem
vknn
[EMAIL PROTECTED]





Application clients howto?

2001-02-19 Thread Alexander Jerusalem

Hi,

i'm trying to call an EJB from an application client but orion throws a 
NamingException saying: "META-INF/application-client.xml resource not 
found". Now I have two questions:

* Where should I put the application-client.xml file?
* How can I put the application-client.xml file into the correct naming 
context?

thanks,

Alexander Jerusalem
[EMAIL PROTECTED]
vknn