O'Reilly logo

Java Programming with Oracle SQLJ by Jason Price

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

1.7. Oracle JDeveloper

Oracle JDeveloper is an integrated development environment (IDE) for developing Java programs. It uses a graphical user interface that enables you to write, compile, and debug Java applications without having to use command-line utilities. While JDeveloper is not actually required to develop SQLJ programs, it is a very useful and powerful tool. This section describes the basic features of JDeveloper and illustrates how to use JDeveloper to translate, compile, run, and debug the HelloWorld.sqlj program.

In addition to developing standard Java programs, JDeveloper may be used to develop many other types of Java-based programs, including:

  • Applications

  • Applets

  • Servlets

  • JavaServer Pages

  • Oracle Java Stored Procedures

  • Enterprise JavaBeans

SQLJ statements can be included in any of the Java program types listed here.

1.7.1. Basic Features of JDeveloper

This section gives you a quick tour of the basic features of JDeveloper. The JDeveloper integrated development environment is shown in Figure 1-3.

Figure 1-3. The JDeveloper integrated development environment

JDeveloper organizes the working environment into a workspace. A workspace is saved in a file with the extension .jws and can contain one or more projects, which are saved in files with the extension .jpr. In Figure 1-3, the workspace file sqlj_workspace.jws is open and contains the project file sqlj_project.jpr ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required