Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Java
 QCRTGraph for Java
 Basics of deploying a Java Application
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

daviddu@cctexas.com

14 Posts

Posted - 02 Mar 2006 :  14:48:20  Show Profile  Reply with Quote
OK, I'm just getting started at working with basic Java Applications. I've got Eclipse and the libraries installed according to your documentation, and I can compile and execute any of the examples from within the IDE.

Now for my question. Working in the IDE is all nice and good, except thats not what I need to deploy. There's nothing in the manual itself as to how to actually DEPLOY an application. Once I've got the thing working in Eclipse, how do I convert it into an executable Java application (or more importantly, an Applet)?

David Dudley

quinncurtis

1586 Posts

Posted - 02 Mar 2006 :  16:21:37  Show Profile  Reply with Quote
Both manuals contain information about packaging Java applets for use in web pages. See Chapter 24 of the QCChart2D manual and Chapter 19 in the QCRTGraph manual. This is pretty easy to do if you start with our templates.

The best way to package Java applications is to use the Fat Jar plug-in tool available from SourceForge.net http://sourceforge.net/projects/fjep (its free).
It simplifies packaging external JARs (our qcchart2djava.jar and qcrtgraphjava.jar) with an application and wraps everything up into one big JAR file.

It packages a complete Eclipse project. So the best way to use it is to create your own, new, Eclipse project that includes references to our JAR libraries, and once you have that running, use the Export - Fat Jar Exporter to create the composite JAR file.
Go to Top of Page

quinncurtis

1586 Posts

Posted - 03 Mar 2006 :  09:17:46  Show Profile  Reply with Quote
When you actually deploy and applet or application, independent of Eclipse, make sure you use the qcchart2djava.jar and/or the qcrtgraphjava.jar libraries found in the Quinn-Curtis\java\RedistributableFiles folder, NOT the same-named ones in the Quinn-Curtis\java\lib folder.

The JAR files in the \lib folder contain the javadoc documentation for the classes, making those the ones you should use for development, though that adds several megabytes their size. The JAR files in the \RedistributableFiles folder have had the javadoc documentation stripped out, leaving only the library classes. This makes the JAR files very compact (414KB and 168KB respectively), resulting in faster load times, for both applets and applications.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07