Oracle® Application Server TopLink Application Developer's Guide
10g Release 2 (10.1.2) Part No. B15901-01 |
|
Previous |
Next |
This section contains information on how to configure OracleAS TopLink for Oracle JDeveloper.
Oracle JDeveloper is a J2EE development environment with end-to-end support to develop, debug, and deploy e-business applications and Web Services.
When you employ OracleAS TopLink with Oracle JDeveloper, use the following procedures to add the OracleAS TopLink JAR files to your JDeveloper projects:
Follow these steps to create an OracleAS TopLink JDeveloper Library:
Select a JDeveloper project in the System Navigator pane.
Choose Project > Project Settings.
The Project Settings pane appears.
Choose Configurations > Development > Libraries.
A list of predefined and user-defined libraries appears.
Click New to create a new library that will contain the OracleAS TopLink .jar
files.
The New Library dialog box appears.
Enter a name for the new Library—for example, OracleAS TopLink.
Ensure that the default choice for Libraries remains as User Libraries.
To edit the Classpath and add the OracleAS TopLink .jar
files, click the Edit button.
Add the following to the beginning of your Classpath:
<ORACLE_HOME>\toplink\jlib\toplink.jar <ORACLE_HOME>\toplinkjlib\antlr.jar <ORACLE_HOME>\lib\xmlparserv2.jar
Click OK in the New Library dialog box. On the Project Settings pane click OK.
Use an Existing User-Defined OracleAS TopLink Library
After a user library is created, it can be re-referenced by any other project. Revisit the Libraries window of the Project Settings, and add the OracleAS TopLink Library to any project with which you want to use OracleAS TopLink.