File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes How to deploy .JAR JAVA application in JBOSS , not as a Dynamic web Application ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to deploy .JAR JAVA application in JBOSS , not as a Dynamic web Application ?" Watch "How to deploy .JAR JAVA application in JBOSS , not as a Dynamic web Application ?" New topic
Author

How to deploy .JAR JAVA application in JBOSS , not as a Dynamic web Application ?

biswa mishra
Greenhorn

Joined: Jun 07, 2005
Posts: 5
Hi

Greetings to all JBOSS users !!!

I am facing a techinical Challenges in JBoss App servers, Needs your help or suggestions in this regards ..

I am developing one Java Application , not web application . I will be using spring DI's in it , This application will connect to Database using Spring's JDBC template . i want this application to be deployed in JBOSS as .jar file. I will be using camel-context.xml inside the application , actaully i will configure Active MQ in JBOSS and My deployed application will always listen to the Queue port . i donot have any challenge in configuring the Active MQ part . what i am looking at this point , can any body suggests me how can i deploy .JAR file in JBOSS .This is not at all a web modules, else i could have deployed .war file as usually we deploy in J2ee apps server .
One more things this is not an traditional EJB application also .

So if some one can advise me what and how i can deploy the .JAR file in JBOSS ? Or if someone can suggests me is there any other options i can follow to achive the same in JBOSS ?

A quick help will be highly appricated ...

Thanks,
Biswa

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

This sounds like a standalone Java application; it does not sound like a WAR, EAR, RAR, SAR or other Java EE application. You cannot deploy something like that in JBoss AS.

Why are you trying to deploy this in JBoss AS? What is your goal for doing this, or what are the capabilities that you think JBoss AS will bring to your application? If we knew that perhaps we could provide some guidance as to what you could do.


JBoss In Action
biswa mishra
Greenhorn

Joined: Jun 07, 2005
Posts: 5
Peter Johnson wrote:This sounds like a standalone Java application; it does not sound like a WAR, EAR, RAR, SAR or other Java EE application. You cannot deploy something like that in JBoss AS.

Why are you trying to deploy this in JBoss AS? What is your goal for doing this, or what are the capabilities that you think JBoss AS will bring to your application? If we knew that perhaps we could provide some guidance as to what you could do.



Hi ,

Actaully This Java EE application , I wanted to deploy these java services remotely , i will configure active mQ and by using Camel-context , i can use these deployed services as Service Consumers . This is not Standalone Java programs rather i wanted to deploy these as Java Services instead of creating web services , so i am looking at if i can create EAR,JAR.. something which can be deployed .

Reply me if you understand what i am planning to do ?

Thanks,
Biswa
Jason Cone
Greenhorn

Joined: Jul 21, 2004
Posts: 25
biswa mishra wrote:Actaully This Java EE application...i am looking at if i can create EAR,JAR.. something which can be deployed.

If it's a JEE application, package it as an EAR and place it in the deploy directory. (Or annotate your beans with EJB or JBoss-specific annotations, in which case you may be able to just put the JAR into the deploy directory without packaging it as an EAR.)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to deploy .JAR JAVA application in JBOSS , not as a Dynamic web Application ?
 
Similar Threads
How to access my ejb application in jboss?
How to Integrate ActiveMa
deploying web Application in Tomcat Sever
JBoss with MQ
Active MQ Integration with Weblogic