I have a simple Java program that I want to deploy on a JBoss server. JBoss will run any
program (e.g. .war, .ear, and .jar (EJB)) dropped into the
"server/default/deploy/" directory.
My Java program is (1) called, (2) runs an INSERT query, and (3) returns a small Hashtable
back to the caller. This program will need to be called from other local servers within my
network. No GUI pages are needed. The application is speed sensitive. It needs to run as
fast as possible.
What are my options for deploying the application to the JBoss server?
Option #1: Convert the Java application into a .war? (The application will get called via
HTTP)
Option #2: Convert the Java application into an .ear?
Option #3: Convert the Java application into an EJB .jar? (The application will get
called via RMI)
Option #4: Other options?
Is there any time delay if the application is called as a .war versus .ear versus RMI,
etc.?
Software:
JBoss 4.0.1
JDK 1.6
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137926#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...