...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
insert into Account1 values (1111, 'Joe', 'NewYork', 10, 30000.0); insert into Account1 values (2222, 'John', 'NewJersy', 11, 31000.0); insert into Account1 values (3333, 'Jane', 'Raleigh', 13, 32000.0); |
32. Export the Java project by name ApplicationClientJPA.jar
as follows.
Right click on the java project and export it as jar file.
...
In the next screen click Next. In the Jar Manifest Specification wizard, select sample.jpa.appclient.AccountClient
using Browse button. This is the class that has public static void main(String[] args)
method which is the application entry point.
Click Finish.
23. Deploy the application client as follows.
Change the directory to <geronimo_home>\bin
.
Submit the below command
No Format bgColor #000000 borderStyle solid
<geronimo_home>/bin>deploy.bat --user system --password manager deploy <location_of_the_exported_jar_file>ApplicationClientJPA.jar>/ApplicationClientJPA.jar
Running the application client
...