Skip to content

Commit 92f5630

Browse files
committed
initial spa 11g projects
0 parents  commit 92f5630

File tree

338 files changed

+25114
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

338 files changed

+25114
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

EDN_JAVA/.DS_Store

6 KB
Binary file not shown.

EDN_JAVA/.adf/META-INF/adf-config.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="windows-1252" ?>
2+
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
3+
xmlns:config="http://xmlns.oracle.com/bc4j/configuration"
4+
xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
5+
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
6+
<adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">
7+
<defaults useBindVarsForViewCriteriaLiterals="true"/>
8+
<startup>
9+
<amconfig-overrides>
10+
<config:Database jbo.locking.mode="optimistic"/>
11+
</amconfig-overrides>
12+
</startup>
13+
</adf-adfm-config>
14+
<adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
15+
<adf-property name="adfAppUID" value="ADFEDN.nl.whitehorses.adf.edn"/>
16+
</adf:adf-properties-child>
17+
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
18+
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
19+
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
20+
</sec:adf-security-child>
21+
</adf-config>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version = '1.0' encoding = 'UTF-8'?>
2+
<References xmlns="http://xmlns.oracle.com/adf/jndi">
3+
<Reference name="scott" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="scott" xmlns="">
4+
<Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
5+
<RefAddresses>
6+
<StringRefAddr addrType="sid">
7+
<Contents>orcl</Contents>
8+
</StringRefAddr>
9+
<StringRefAddr addrType="subtype">
10+
<Contents>oraJDBC</Contents>
11+
</StringRefAddr>
12+
<StringRefAddr addrType="port">
13+
<Contents>1521</Contents>
14+
</StringRefAddr>
15+
<StringRefAddr addrType="hostname">
16+
<Contents>localhost</Contents>
17+
</StringRefAddr>
18+
<StringRefAddr addrType="user">
19+
<Contents>scott</Contents>
20+
</StringRefAddr>
21+
<SecureRefAddr addrType="password"/>
22+
<StringRefAddr addrType="DeployPassword">
23+
<Contents>true</Contents>
24+
</StringRefAddr>
25+
<StringRefAddr addrType="oraDriverType">
26+
<Contents>thin</Contents>
27+
</StringRefAddr>
28+
</RefAddresses>
29+
</Reference>
30+
</References>

EDN_JAVA/ADFEDN.jws

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?xml version = '1.0' encoding = 'UTF-8'?>
2+
<jws:workspace xmlns:jws="http://xmlns.oracle.com/ide/project">
3+
<hash n="adrs-workspace-properties">
4+
<value n="adrs-instance-binding" v="DefaultServer"/>
5+
</hash>
6+
<value n="application-package-prefix" v="nl.whitehorses.adf.edn"/>
7+
<value n="appTemplateId" v="adfWebappApplicationTemplate"/>
8+
<hash n="component-versions">
9+
<value n="oracle.adf.share.dt.migration.jps.JaznCredStoreMigratorHelper" v="11.1.1.1.0"/>
10+
<value n="oracle.adfdt.controller.adfc.source.migration.SavePointDataSourceForWLSMigrator" v="11.1.1.1.0"/>
11+
<value n="oracle.adfdtinternal.model.ide.security.wizard.AdfSecurityMigrator" v="11.1.1.1.0.13"/>
12+
<value n="oracle.ide.model.Project" v="11.1.1.1.0"/>
13+
<value n="oracle.jdevimpl.deploy.ear.OarMigratorHelper" v="11.1.1.1.0"/>
14+
<value n="oracle.jdevimpl.deploy.mar.MarMigratorHelper" v="11.1.1.1.0"/>
15+
<value n="oracle.jdevimpl.xml.oc4j.jps.JpsConfigMigratorHelper" v="11.1.1.1.0.1"/>
16+
<value n="oracle.jdevimpl.xml.wl.WeblogicMigratorHelper" v="11.1.1.1.0"/>
17+
<value n="oracle.mds.internal.dt.ide.migrator.MDSConfigMigratorHelper" v="11.1.1.0.5313"/>
18+
</hash>
19+
<list n="listOfChildren">
20+
<hash><url n="URL" path="client/client.jpr"/></hash>
21+
<hash><url n="URL" path="Model/Model.jpr"/></hash>
22+
<hash><url n="URL" path="ViewController/ViewController.jpr"/></hash>
23+
</list>
24+
<hash n="oracle.jdeveloper.deploy.dt.DeploymentProfiles">
25+
<hash n="DefaultProfile">
26+
<value n="ProfileName" v="ADFEDN_application1"/>
27+
</hash>
28+
<hash n="profileDefinitions">
29+
<hash n="ADFEDN_application1">
30+
<hash n="archiveOptions">
31+
<value n="hasManifest" v="false"/>
32+
</hash>
33+
<hash n="dependencies">
34+
<list n="dependencyList">
35+
<hash>
36+
<value n="adapterClass" v="oracle.jdevimpl.deploy.common.DefaultProfileDependable"/>
37+
<url n="ownerURL" path="ViewController/ViewController.jpr"/>
38+
<value n="profileName" v="ADFEDN_ViewController_webapp1"/>
39+
</hash>
40+
</list>
41+
</hash>
42+
<url n="earURL" path="deploy/ADFEDN_application1.ear"/>
43+
<value n="enterpriseAppName" v="ADFEDN_application1"/>
44+
<hash n="fileGroups">
45+
<list n="groups">
46+
<hash>
47+
<list n="contributors">
48+
<hash>
49+
<value n="type" v="9"/>
50+
</hash>
51+
</list>
52+
<value n="displayName" v="Application Descriptors"/>
53+
<hash n="filters">
54+
<list n="rules"/>
55+
</hash>
56+
<value n="internalName" v="ear-metainf"/>
57+
<value n="type" v="1"/>
58+
</hash>
59+
<hash>
60+
<value n="displayName" v="Application Libraries"/>
61+
<hash n="filters">
62+
<list n="rules">
63+
<hash>
64+
<value n="pattern" v="**"/>
65+
</hash>
66+
</list>
67+
</hash>
68+
<value n="internalName" v="libraries"/>
69+
<value n="targetWithinJar" v="lib"/>
70+
<value n="type" v="3"/>
71+
</hash>
72+
</list>
73+
</hash>
74+
<hash n="libraryDependencies">
75+
<value n="IncludeLibrariesFromOtherContainers" v="true"/>
76+
</hash>
77+
<value n="profileClass" v="oracle.jdeveloper.deploy.ear.EarProfile"/>
78+
<value n="profileName" v="ADFEDN_application1"/>
79+
</hash>
80+
</hash>
81+
<list n="profileList">
82+
<string v="ADFEDN_application1"/>
83+
</list>
84+
</hash>
85+
</jws:workspace>

EDN_JAVA/client/client.jpr

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
<?xml version = '1.0' encoding = 'UTF-8'?>
2+
<jpr:project xmlns:jpr="http://xmlns.oracle.com/ide/project">
3+
<hash n="component-versions">
4+
<value n="oracle.adfdt.controller.adfc.source.migration.AdfControllerSchemaMigrator" v="11.1.1.1.0"/>
5+
<value n="oracle.adfdt.controller.common.migrator.ProjectMigrator" v="11.1.1.1.0"/>
6+
<value n="oracle.adfdt.controller.jsf2.diagram.migrate.JsfNodeMigratorHelper" v="11.1.1.1.0"/>
7+
<value n="oracle.adfdt.controller.struts.addin.db.ADFStrutsProjectMigrator" v="11.1.1.1.0"/>
8+
<value n="oracle.adfdt.controller.struts.addin.StrutsProjectMigrator" v="11.1.1.1.0"/>
9+
<value n="oracle.adfdtinternal.dvt.datapresdt.migration.DVTDataMapMigrator" v="11.1.1.1.0"/>
10+
<value n="oracle.adfdtinternal.model.ide.migration.ProjectMigrator" v="11.1.1.1.0.11.1.1"/>
11+
<value n="oracle.adfdtinternal.model.ide.security.wizard.FormPageMigrator" v="11.1.1.0.0"/>
12+
<value n="oracle.adfdtinternal.model.ide.security.wizard.JpsFilterMigrator" v="11.1.1.1.0"/>
13+
<value n="oracle.adfdtinternal.model.ide.xmled.migration.ADFNodeMigrator" v="11.1.1.1.0.5"/>
14+
<value n="oracle.adfdtinternal.model.ide.xmled.migration.PageDefinitionParameterValueMigrator" v="11.1.1.1.0.5"/>
15+
<value n="oracle.adfdtinternal.model.ide.xmled.migration.WebXmlMigrator" v="11.1.1.1.0"/>
16+
<value n="oracle.adfdtinternal.view.common.migration.wizards.MigrationHelper" v="11.1.1.1.0.3"/>
17+
<value n="oracle.adfdtinternal.view.rich.binding.migration.JarResourceMigrator" v="11.1.1.1.0"/>
18+
<value n="oracle.adfdtinternal.view.rich.migration.ComponentIdNodeMigratorHelper" v="11.1.1.1.0.01"/>
19+
<value n="oracle.adfdtinternal.view.rich.migration.LibraryVersionMigrator" v="11.1.1.1.0"/>
20+
<value n="oracle.bm.commonIde.ProjectUpgrader" v="11.1.1.1.0"/>
21+
<value n="oracle.bm.migration.project.MigratorRegistryProjectUpgradeAdapter" v="11.1.1.1.0"/>
22+
<value n="oracle.ide.model.Project" v="11.1.1.1.0"/>
23+
<value n="oracle.ide.model.ResourcePathsMigrator" v="11.1.1.1.0"/>
24+
<value n="oracle.jbo.dt.jclient.migrator.JCProjectMigrator" v="11.1.1.1.0"/>
25+
<value n="oracle.jbo.dt.jdevx.deployment.JbdProjectMigrator" v="11.1.1.1.0"/>
26+
<value n="oracle.jbo.dt.jdevx.ui.appnav.APProjectMigrator" v="11.1.1.0.1.5"/>
27+
<value n="oracle.jbo.dt.migrate.ResourceBundlePathMigrator" v="11.1.1.1.0.5"/>
28+
<value n="oracle.jbo.dt.migration.ServiceInterfaceMigrator" v="11.1.1.1.0"/>
29+
<value n="oracle.jdeveloper.ejb.EjbMigrator" v="11.1.1.1.0"/>
30+
<value n="oracle.jdeveloper.library.ProjectLibraryMigrator" v="11.1.1.1.0"/>
31+
<value n="oracle.jdeveloper.model.OutputDirectoryMigrator" v="11.1.1.1.0"/>
32+
<value n="oracle.jdevimpl.deploy.DeploymentProfilesMigrator" v="11.1.1.1.0"/>
33+
<value n="oracle.jdevimpl.deploy.jps.JpsDataMigrator" v="11.1.1.1.0"/>
34+
<value n="oracle.jdevimpl.jsp.JspMigrator" v="11.1.1"/>
35+
<value n="oracle.jdevimpl.offlinedb.migration.OfflineDBProjectMigrator" v="11.1.1.1.0"/>
36+
<value n="oracle.jdevimpl.offlinedb.migration.OfflineTransferMigrator" v="11.1.1.1.0"/>
37+
<value n="oracle.jdevimpl.resourcebundle.XliffAddin$XliffMigratorHelper" v="11.1.1.1.0"/>
38+
<value n="oracle.jdevimpl.webapp.jsp.libraries.JspLibraryMigrator" v="11.1.1.1.4"/>
39+
<value n="oracle.jdevimpl.webapp.WebAppContentSetNodeMigratorHelper" v="11.1.1"/>
40+
<value n="oracle.jdevimpl.webapp.WebAppNodeMigratorHelper" v="11.1.1.1.0"/>
41+
<value n="oracle.jdevimpl.webservices.WebServicesMigratorHelper" v="11.1.1.1.0"/>
42+
<value n="oracle.jdevimpl.xml.wl.WeblogicMigratorHelper" v="11.1.1.1.0"/>
43+
<value n="oracle.modeler.bmmigrate.management.Migration" v="11.1.1.1.0"/>
44+
<value n="oracle.tip.tools.ide.bpel.v1.designer.addin.migrator.BPELProjectMigrator" v="11.1.1.1.0"/>
45+
<value n="oracle.tip.tools.ide.fabric.addin.SCAProjectMigrator" v="11.1.1.1.0.06"/>
46+
<value n="oracle.tip.tools.ide.workflow.addin.TaskFormMigratorAddin" v="11.1.1.1.0"/>
47+
<value n="oracle.tip.tools.ide.workflow.addin.WorkflowProjectMigrator" v="11.1.1.1.0.09"/>
48+
<value n="oracle.toplink.workbench.addin.migration.PersistenceProjectMigrator" v="11.1.1.1.1"/>
49+
<value n="oracle.toplink.workbench.addin.migration.TopLinkProjectMigrator" v="11.1.1.1.0"/>
50+
</hash>
51+
<list n="contentSets">
52+
<string v="oracle.jdeveloper.model.PathsConfiguration/javaContentSet"/>
53+
<string v="oracle.ide.model.ResourcePaths/resourcesContentSet"/>
54+
<string v="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings/offlineDBContentSet"/>
55+
<string v="oracle.jdeveloper.model.J2eeSettings/webContentSet"/>
56+
<string v="oracle.mds.internal.dt.ide.MDSLibraryCustCSProvider/mdsContentSet"/>
57+
<string v="oracle.bm.commonIde.data.project.ModelerProjectSettings/modelersContentSet"/>
58+
<string v="oracle.tip.tools.ide.fabric.addin.SCAContentSetProvider/sca-content"/>
59+
<string v="oracle.adfdtinternal.model.ide.settings.ADFMSettings/adfmContentSet"/>
60+
<string v="oracle.toplink.workbench.addin/toplinkContentSet"/>
61+
<string v="oracle.bpm.fusion.repository.BPMProjectSettings/bpmProjectsProcessesContentSet"/>
62+
</list>
63+
<value n="defaultPackage" v="nl.whitehorses.adf.edn"/>
64+
<hash n="oracle.jdeveloper.compiler.OjcConfiguration">
65+
<value n="internalEncoding" v="Cp1252"/>
66+
<list n="Javac.commandline.optionlist">
67+
<string v="-g"/>
68+
<string v="-Xlint:all"/>
69+
<string v="-Xlint:-cast"/>
70+
<string v="-Xlint:-empty"/>
71+
<string v="-Xlint:-fallthrough"/>
72+
<string v="-Xlint:-path"/>
73+
<string v="-Xlint:-serial"/>
74+
<string v="-Xlint:-unchecked"/>
75+
</list>
76+
<value n="webIANAEncoding" v="windows-1252"/>
77+
</hash>
78+
<hash n="oracle.jdeveloper.model.J2eeSettings">
79+
<value n="j2eeWebAppName" v="ADFEDN-client-webapp"/>
80+
<value n="j2eeWebContextRoot" v="ADFEDN-client-context-root"/>
81+
</hash>
82+
<hash n="oracle.jdeveloper.runner.RunConfigurations">
83+
<hash n="runConfigurationDefinitions">
84+
<hash n="Default">
85+
<value n="custom" v="false"/>
86+
<value n="name" v="Default"/>
87+
</hash>
88+
</hash>
89+
<list n="runConfigurationList">
90+
<string v="Default"/>
91+
</list>
92+
</hash>
93+
<hash n="oracle.jdevimpl.config.JProjectLibraries">
94+
<list n="exportedReferences">
95+
<hash>
96+
<value n="id" v="SOA Runtime"/>
97+
<value n="isJDK" v="false"/>
98+
</hash>
99+
<hash>
100+
<value n="id" v="WebLogic 10.3 Remote-Client"/>
101+
<value n="isJDK" v="false"/>
102+
</hash>
103+
<hash>
104+
<value n="id" v="JRF API"/>
105+
<value n="isJDK" v="false"/>
106+
</hash>
107+
<hash>
108+
<value n="id" v="Java EE 1.5"/>
109+
<value n="isJDK" v="false"/>
110+
</hash>
111+
<hash>
112+
<value n="id" v="Oracle XML Parser v2"/>
113+
<value n="isJDK" v="false"/>
114+
</hash>
115+
</list>
116+
<list n="libraryReferences">
117+
<hash>
118+
<value n="id" v="SOA Runtime"/>
119+
<value n="isJDK" v="false"/>
120+
</hash>
121+
<hash>
122+
<value n="id" v="WebLogic 10.3 Remote-Client"/>
123+
<value n="isJDK" v="false"/>
124+
</hash>
125+
<hash>
126+
<value n="id" v="JRF API"/>
127+
<value n="isJDK" v="false"/>
128+
</hash>
129+
<hash>
130+
<value n="id" v="Java EE 1.5"/>
131+
<value n="isJDK" v="false"/>
132+
</hash>
133+
<hash>
134+
<value n="id" v="Oracle XML Parser v2"/>
135+
<value n="isJDK" v="false"/>
136+
</hash>
137+
</list>
138+
</hash>
139+
<hash n="oracle.jdevimpl.config.JProjectPaths">
140+
<url n="outputDirectory" path="classes/"/>
141+
</hash>
142+
<hash n="oracle.toplink.workbench.addin">
143+
<hash n="toplinkContentSet">
144+
<list n="pattern-filters">
145+
<string v="+**"/>
146+
</list>
147+
<list n="url-path">
148+
<url path="toplink/"/>
149+
</list>
150+
</hash>
151+
</hash>
152+
</jpr:project>
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
package nl.whitehorses.adf.edn;
2+
3+
import java.util.Properties;
4+
5+
import javax.jms.Queue;
6+
import javax.jms.QueueConnectionFactory;
7+
8+
import javax.naming.Context;
9+
import javax.naming.InitialContext;
10+
import javax.naming.NamingException;
11+
12+
import javax.transaction.UserTransaction;
13+
14+
import javax.xml.namespace.QName;
15+
16+
import oracle.fabric.blocks.event.BusinessEventConnection;
17+
import oracle.fabric.blocks.event.BusinessEventConnectionFactory;
18+
19+
import oracle.integration.platform.blocks.event.BusinessEventBuilder;
20+
import oracle.integration.platform.blocks.event.jms.JmsRemoteBusinessEventConnectionFactory;
21+
22+
import oracle.soa.common.util.XMLUtil;
23+
24+
import org.w3c.dom.Element;
25+
26+
27+
public class PublishJMSEvent {
28+
29+
public static void main(String[] args) {
30+
31+
// My SOA WebLogic variables
32+
Properties props = new Properties();
33+
props.put(Context.PROVIDER_URL, "t3://soaps3.alfa.local:8001");
34+
props.put(Context.INITIAL_CONTEXT_FACTORY,
35+
"weblogic.jndi.WLInitialContextFactory");
36+
props.put(Context.SECURITY_PRINCIPAL, "weblogic");
37+
props.put(Context.SECURITY_CREDENTIALS, "weblogic1");
38+
39+
// the business Event
40+
String EmployeeEvent = "EmployeeEvent";
41+
String NameSpace =
42+
"http://schemas.oracle.com/events/edl/EmployeeEventEDL";
43+
44+
String EmployeeEventBody =
45+
"<Employee xmlns=\"http://nl.whitehorses.employee.event\">" +
46+
"<Id>110</Id>" +
47+
"</Employee>";
48+
49+
Element eventBody = null;
50+
try {
51+
eventBody =
52+
XMLUtil.parseDocumentFromXMLString(
53+
EmployeeEventBody.toString()).getDocumentElement();
54+
} catch (Exception e) {
55+
e.printStackTrace();
56+
}
57+
58+
// EDN JMS environment
59+
String connFactName = "jms/fabric/EDNConnectionFactory";
60+
String xaConnFactName = "jms/fabric/xaEDNConnectionFactory";
61+
String queueName = "jms/fabric/EDNQueue";
62+
63+
try {
64+
InitialContext context = new InitialContext(props);
65+
66+
// do a jndi lookup on the Server
67+
UserTransaction userTransaction =
68+
(UserTransaction)context.lookup("javax.transaction.UserTransaction");
69+
QueueConnectionFactory queueConnectionFactory =
70+
((QueueConnectionFactory)context.lookup(connFactName));
71+
QueueConnectionFactory xaQueueConnectionFactory =
72+
((QueueConnectionFactory)context.lookup(xaConnFactName));
73+
Queue jmsQueue = ((Queue)context.lookup(queueName));
74+
75+
76+
BusinessEventConnectionFactory factory =
77+
new JmsRemoteBusinessEventConnectionFactory(queueConnectionFactory,
78+
xaQueueConnectionFactory,
79+
jmsQueue,
80+
userTransaction);
81+
82+
BusinessEventConnection conn =
83+
factory.createBusinessEventConnection();
84+
85+
// Create an event
86+
BusinessEventBuilder builder = BusinessEventBuilder.newInstance();
87+
builder.setEventName(new QName(NameSpace, EmployeeEvent));
88+
builder.setBody(eventBody);
89+
90+
// publish
91+
conn.publishEvent(builder.createEvent(), 4);
92+
conn.close();
93+
94+
} catch (NamingException e) {
95+
e.printStackTrace();
96+
}
97+
98+
}
99+
}
100+
101+

EDN_JAVA/src/META-INF/cwallet.sso

3.22 KB
Binary file not shown.

0 commit comments

Comments
 (0)