Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.)
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic