Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

deploying a core java application  RSS feed

 
Mohit Sinha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Hope this is the right forum for the question.
I have an application which is completely in core java (no web components no ejb ) but this app may be consumed by a java web app.
So ideally this will be bundled as a jar file but my question is how can a standalone jar file be deployed to an app server or others and be made available for consumption.

Do chip in with your thoughts.


Thanks,
Mohit
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You wouldn't "deploy" it to an app server--if it's not an app, doing so would be meaningless.

It could expose a library which is *used* by an app, however.

The answer to this question may depend upon what you mean by "consume": is it a library? A set of services?
 
Mohit Sinha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently we bundle it as a library with the client apps who consume it.
But we were thinking on the lines of providing it as service.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're going to need to wrap it in a service provider framework. For example, as a web service.
 
Mohit Sinha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim.

Is there any other java based alternative to web services.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohit Sinha wrote:Thanks Tim.

Is there any other java based alternative to web services.


Yes, lots. Though some of them are web services as opposed to "WEB SERVICES". for example, REST.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!