7-10 Learning Java with JBuilder
7-10 Learning Java with JBuilder
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Tomcat Web Hosting services
7-10 Learning Java with JBuilder
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Tomcat Web Hosting services
Using command line tools For more information on using command line tools in JBuilder, see Using the command line tools in Building Applications with JBuilder. For more information on command line arguments, see JBuilder command line arguments in Building Applications with JBuilder. For more general information on command line tools, see http://java.sun.com/j2se/1.3/docs/tooldocs/tools.html#basic. Compiling and running Java programs 7-9
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services
Using command line tools Using command line tools Command line tools allow you to execute global commands from your command line window. Using standard command line tools, you can compile and launch applications, manage your JAR files, view applets outside of a web browser, and extract comments embedded in the code. JBuilder provides additional command line tools that provide extended or improved functionality. The JDK includes the following command line tools: javac - the compiler for the Java programming language. java - the launcher for the Java applications. jar - manages the Java Archive (.jar) files. javadoc - an API documentation comments extraction utility. appletviewer - allows you to run applets outside of the context of a web browser. native2ascii - converts a file of native encoded characters to one with Unicode escape sequences. JBuilder includes the following command line tools: JBuilder command line arguments And, in JBuilder Professional and Enterprise: The bmj command line make The bcj command line compiler JBuilder s command line interface includes such options as: Building projects Displaying configuration information Displaying the license manager Disabling the splash screen Enabling verbose debugging mode for OpenTools authors Note These options vary by edition. To access the list of options available in your edition of JBuilder, open a command-line window, navigate to the JBuilder bin directory and type jbuilder -help. JBuilder runs on its own launcher, which is a shell script, a batch file, or an executable, depending on the platform you run it on. Each of these launchers can pass arguments to JBuilder. 7-8 Learning Java with JBuilder
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services
Deploying Java programs For more information, see Deploying Applications with VisiBroker in the VisiBroker for Java Programmer s Guide if you are using VisiBroker, or see your Application Server s User s Guide. Deploying web-based applications Web-based, multi-tier applications are deployed onto web servers. Consult the documentation for your web server for information on deploying web applications. Running deployed programs You can run a deployed program from the command line with the JDK command line tools. To run a program at the command line, use the -jar option with the java command. For more information, see Running a program from a JAR file, Using the command line tools, and Deploying Java programs in Building Applications with JBuilder. For a tutorial on running programs from JAR files, visit http://java.sun.com/docs/books/tutorial/jar/basics/index.html. Compiling and running Java programs 7-7
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services
Deploying Java programs To deploy a program, 1 Create and compile your code in JBuilder. 2 Run the Archive Builder to create the archive file. 3 Create an install procedure. 4 Deliver your JAR file, all necessary redistributable JAR files, and the installation files. For more information, see Deploying Java programs in Building Applications with JBuilder. For a tutorial on deploying to and running programs from JAR files, visit http://java.sun.com/docs/books/tutorial/jar/basics/index.html. Deploying CORBA applications This is a feature of When deploying CORBA applications with JBuilder Enterprise, the JBuilder Enterprise. Archive Builder collects your stubs and skeletons into a JAR file. You must install your ORB on each machine that runs a client, middle-tier, or server CORBA program. 7-6 Learning Java with JBuilder
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost JSP Web Hosting services
Deploying Java programs For more information on the debugger, see Debugging Java programs in Building Applications with JBuilder. Deploying Java programs Deploying a Java program consists of bundling the various Java class files, image files, and other files needed by the project and copying them to a location on a server or client computer where users can access them. You can deliver them in compressed or uncompressed archive files. Using the Archive Builder This is a feature of JBuilder Professional and Enterprise. The JBuilder Archive Builder automatically gathers together the classes and files your program needs. It then bundles files into a compressed or uncompressed archive file, usually a JAR file. It can also create the archive s manifest file, which you can modify in JBuilder. The Archive Builder also creates an archive node in your project, allowing easy access to the archive file. At any time during development, you can make the archive file, rebuild it, or reset its properties. You can also view the contents of the archive, as well as the contents of the manifest file. Compiling and running Java programs 7-5
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services
Powered by Java Web Hosting