File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes deploying a core java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "deploying a core java application" Watch "deploying a core java application" New topic
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

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: 15641
    
  15

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: 15641
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying a core java application
 
Similar Threads
log question
java application and its supporting files
where to deploy jar files
web service not available
difference between maven "compile" and "provided" scope