File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
biswa mishra
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
biswa mishra
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic