- This topic has 3 replies, 3 voices, and was last updated 19 years ago by
Greg.
-
AuthorPosts
-
awftong@fehd.gov.hkMemberI’ve an application using JBOSS and Oracle DB. It run fine. Now I wanted to switch from JBOSS to 10gAS (10.1.3). When I configure the subdoclet for the oc4j, I found the subtask for JBoss to be very different from oc4j. Can anyone advise where I can find the relevant docuementation? The following are the subtask I had for JBOSS:
Version=4.0
datasource=java:/jdbc/OracleDS
datasourceMapping=Oracle9i
destDir=src/META-INF*** Date: Mon May 15 22:08:59 CST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
24c_2c
-vm
C:\WINDOWS\system32\javaw.exe
Scott AndersonParticipantThe documentation on the OC4J XDoclet subtask can be found here:
http://www.myeclipseide.com/images/tutorials/me_remote_doc/xdoclet/xdoclet-1.2.3-docs/ant/xdoclet/modules/oracle/oc4j/ejb/OC4JSubTask.html
awftong@fehd.gov.hkMember@support-scott wrote:
The documentation on the OC4J XDoclet subtask can be found here:
http://www.myeclipseide.com/images/tutorials/me_remote_doc/xdoclet/xdoclet-1.2.3-docs/ant/xdoclet/modules/oracle/oc4j/ejb/OC4JSubTask.htmlThanks Scott, because I’m not very familiar with XDoclet, not sure if I’m asking the right question here. In JBOSS I’d to specific the “datasource” and “datasourceMapping” in order for CMP to know which data source to use. But I don’t found these subtask for OC4J, where can I specific the datasource?
GregMemberFor specifying datasource for OC4J, try using the xdoclet tag in your java source.
* @oc4j.bean * datasource=""
-
AuthorPosts