From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../src/examples/integration/Readme.txt | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Master/Reference Architectures and Patterns/EJB 3.0 Code/Rima Examples/src/examples/integration/Readme.txt (limited to 'Master/Reference Architectures and Patterns/EJB 3.0 Code/Rima Examples/src/examples/integration/Readme.txt') diff --git a/Master/Reference Architectures and Patterns/EJB 3.0 Code/Rima Examples/src/examples/integration/Readme.txt b/Master/Reference Architectures and Patterns/EJB 3.0 Code/Rima Examples/src/examples/integration/Readme.txt new file mode 100644 index 0000000..98c39f3 --- /dev/null +++ b/Master/Reference Architectures and Patterns/EJB 3.0 Code/Rima Examples/src/examples/integration/Readme.txt @@ -0,0 +1,61 @@ +J2EE Connector Example +---------------------- + +The following are the steps to build, deploy, and run this sample. +Make sure that the Java EE 5 server is running before deployment. + +1) Make sure the following DLLs are in the system classpath + (ideally, in c:\winnt\system32): + mfc71d.dll + msvcr71d.dll + + You can download these DLLs from: + http://www.dll-files.com/dllindex/dll-files.shtml?mfc71d + http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71d + +2) Copy /src/examples/jni/nativelib/LoanApp.dll to your C drive + (C:\LoanApp.dll). + +3) Make sure that the appropriate security permissions are granted to + the resource adapter for linking the dynamic library (LoanApp.dll) + by inserting the following line in the java.policy file under + \jre\lib\security directory. + + permission java.lang.RuntimePermission "loadLibrary.*"; + +4) Compile and jar the JavaLoanApp.java, which uses JNI calls to + invoke functionality of LoanApp.dll library, by typing the following: + + asant jnijar + +5) Compile the connector source files and and create the corresponding + connector RAR file by using the following target: + + asant rar + +6) Deploy the connector, alongwith connector resources such as + connector connection pool and the associated JNDI name resource. + + asant deploy_connector + +7) Now compile LoanRatesEJB files and create the corresponding ejbjar. + + asant jar + +8) Deploy LoanRatesEjb. + + asant deploy_common + +9) Compile and jar the LoanRatesEJB client application. + + asant base_clientjar_common. + +10) Turn off the firewall, if any, and run the client now. + + asant run_client + +11) Undeploy the connector and the EJB, and delete the build classes + + asant undeploy_connector + asant undeploy_common + asant clean_all \ No newline at end of file -- cgit v1.2.3