Ernst,
Before you attempt to do what you suggest, I would suggest you first do 
some analysis of your environment.  There are some things that you need 
to be aware of.
The first thing you need to do is determine if there is a performance 
problem.  What are your performance goals?  What makes you think that 
JBoss is the problem?  How did you test this?  Can any performance 
problems be solved by throwing more hardware at the problem?  Are there 
alternative J2EE app servers that will meet your performance goals?

Also, keep in mind that the speed of JBoss is determined more by I/O 
(disk, network, database, etc.) and context switching speed of the 
underlying OS than by the JVM (Java Virtual Machine).

Since you claim to be a Java newby, I have to point out some things 
about Java you probably didn't know:
I assume that the JVM on the AS400 has a JIT (Just In Time compiler). 
 Knowing IBM, this JIT will be of excellent quality.  My (pretty 
extensive) experience with long running systems like JBoss is that 
running the java program with a JIT will be close to the speed or 
sometimes *faster* than running a native version (java compiled into 
native code).  (At least Sun's Hotspot JIT in server mode outperforms 
anything I've tried, including optimized C++ code, when it comes to 
memory allocation/deallocation.)
In short, don't underestimate the power of java and the JVM.  :-)

So, my advise is: don't even think about doing a project like this 
unless you know absolutely need to.  Evalutate the cost of your effort 
compared to the performance gain that you may or may not get.

Ernst Bekker wrote:

>I unzipped 2.4.1 on our as400 v5r1 at work. The server runs without any
>complaints. 
>Unfortunately I am a java newby. (don't stop reading now).
>The as400 can compile java classes into native as400 byte code that runs
>like lightning. What I would like to contribute is as/400 CL and RPG code to
>make JBOSS the obvious choice for as400. So please help me out here.
>I can compile a .class and .jar files with a command (CRTJVAPGM), and then
>run them with (RUNJVAPGM).
>If you can give me an idea of how all the files fit together I am sure I can
>write some software to automate an optimal as400 server.
>
>
>TIA
>Ernst Bekker
>
-- 
Andrew Scherpbier, CTO ([EMAIL PROTECTED])
BlackBall Music (http://www.blackballmusic.com/)




_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to