× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> For now, I'm just trying to figure out how to put Java classes into a 
WDSC
> application in such a way that they will be deployed as a JAR file.

Normally, you have a project to develop that Java code.  You use WDSC's 
Export feature to export it to a JAR file, and if you want to use that in 
a web application, you just put the JAR file in your WEB-INF/lib folder of 
that application.

When you export, you can just export the JAR file right to that location.

If you are using a Studio 5.x IDE and WAS Express or WAS 5.x as your test 
environment, then there is also a setting in the Project properties of 
your web application where you can specify another Java project in your 
workspace as a "Library project".  Under the covers, it will make the 
compiled output from that application available to your web application in 
the test environment.  This can be helpful if you are doing a lot of 
active development in the project that creates the JAR file since you do 
not have to constantly export it to test.  However, when you do a live 
deployment, you still need to package it as a JAR under the /WEB-INF/lib 
folder.

Mark






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.