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 ...

Get Java Programming with Oracle SQLJ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.