Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/DBWS/Overview/Design time"

m (Replacing page with 'For the current version, see: '''[http://www.eclipse.org/eclipselink/documentation/2.4/dbws/toc.htm Developing Persistence Architectures Using EclipseLink Database Web Services...')
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{EclipseLink_UserGuide
+
For the current version, see:
|info=y
+
'''[http://www.eclipse.org/eclipselink/documentation/2.4/dbws/toc.htm Developing Persistence Architectures Using EclipseLink Database Web Services, Release 2.4]'''
|toc=n
+
|eclipselink=y
+
|eclipselinktype=DBWS
+
}}
+
  
== Creating EclipseLink DBWS Services using the DBWSBuilder utility ==
 
The EclipseLink DBWS design-time utility <tt>DBWSBuilder</tt> is used to create deployment files. <tt>DBWSBuilder</tt> is a Java application that processes the operations described in an [[EclipseLink dbws-builder.xml File (ELUG)#eclipselink-dbws-builder.xml|EclipseLink DBWS builder XML file]] to produce all the required deployment artifacts.
 
  
Be sure to set the following environment variables in the <tt><ECLIPSELINK_HOME>\utils\dbws\setenv.cmd</tt> (or <tt>setenv.sh</tt> file) before invoking <tt>DBWSBuilder</tt>:
+
To create EclipseLink DBWS Services using the DBWSBuilder utility, see http://www.eclipse.org/eclipselink/documentation/2.4/dbws/overview002.htm
* <tt>JAVA_HOME</tt>
+
* <tt>DRIVER_CLASSPATH</tt>
+
 
+
There are script files provided for invoking <tt>DBWSBuilder</tt>. They are located in the <tt><ECLIPSELINK_HOME>\utils\dbws</tt> directory. The scripts are <tt>dbwsbuilder.cmd</tt> for Windows usage, and <tt>dbwsbuilder.sh</tt> for other operating systems.
+
 
+
<source lang="text">
+
DBWSBuilder usage - [] indicates optional argument:
+
prompt > dbwsbuilder.cmd -builderFile {path_to_builder.xml} -stageDir {path_to_stageDir} -packageAs[:archive_flag] {packager} [additional args]
+
Available packagers:
+
  -packageAs:[default=archive] javase [jarFilename]
+
  -packageAs:[default=archive] wls [warFilename]
+
</source>
+
 
+
Using <tt>DBWSBuilder</tt>, you can generate an EclipseLink DBWS service from the following sources:
+
* [[EclipseLink/UserGuide/DBWS/Creating_from_a_Database_Table|an existing relational database table]]
+
* [[EclipseLink/UserGuide/DBWS/Creating_from_a_SQL_Statement|one or more SQL <tt>SELECT</tt> statements]]
+
* [[EclipseLink/UserGuide/DBWS/Creating_from_a_Stored_Procedure|a stored procedure]]
+
* [[EclipseLink/UserGuide/DBWS/Creating_from_a_Stored_Function|a stored function]]
+

Latest revision as of 08:40, 1 November 2012

For the current version, see: Developing Persistence Architectures Using EclipseLink Database Web Services, Release 2.4


To create EclipseLink DBWS Services using the DBWSBuilder utility, see http://www.eclipse.org/eclipselink/documentation/2.4/dbws/overview002.htm

Copyright © Eclipse Foundation, Inc. All Rights Reserved.