Author
deploying a core java application
Mohit Sinha
Ranch Hand
Joined: Nov 29, 2004
Posts: 125
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
Joined: Sep 29, 2008
Posts: 12617
posted Nov 02, 2009 11:31:05
0
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
Joined: Nov 29, 2004
Posts: 125
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
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
You're going to need to wrap it in a service provider framework. For example, as a web service.
Customer surveys are for companies who didn't pay proper attention to begin with.
Mohit Sinha
Ranch Hand
Joined: Nov 29, 2004
Posts: 125
Thanks Tim.
Is there any other java based alternative to web services.
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
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.
subject: deploying a core java application