beautypg.com

20 integrating jpa with hibernate into spring, 21 integrating axis2/java into spring, 22 integrating myfaces into spring – HP Integrity NonStop H-Series User Manual

Page 13

background image

Creating the Employee.hbm.xml File.................................................................................392
Removing the EmployeeRowMapper.java File...................................................................394
Adding Dependency

JAR

Files...........................................................................................394

Deploying EmpInfo on NonStop.............................................................................................395

Creating the EmpInfo

WAR

File on Windows......................................................................396

Deploying the EmpInfo

WAR

File in NSJSP on NonStop....................................................397

Running EmpInfo on NonStop................................................................................................399

20 Integrating JPA with Hibernate into Spring

......................................................401

Why Integrate JPA with Hibernate in Spring................................................................................401
Example of Integrating JPA with Hibernate into Spring...............................................................401

Modifying EmpInfo on Windows using Eclipse IDE...............................................................402

Creating the persistence.xml File........................................................................................403
Creating the EntityEmployee.java File................................................................................403
Modifying the

applicationContext.xml

File.............................................................405

Modifying the

EmployeeDao.java

File...........................................................................406

Removing the Employee.hbm.xml File...............................................................................407
Adding Dependency

JAR

Files...........................................................................................408

Downloading Hibernate Entity Manager......................................................................408
Adding Dependency

JAR

Files......................................................................................408

Deploying EmpInfo on NonStop.............................................................................................409

Creating the EmpInfo

WAR

File on Windows......................................................................409

Deploying the EmpInfo

WAR

File in NSJSP on NonStop....................................................411

Running EmpInfo on NonStop................................................................................................413

21 Integrating Axis2/Java into Spring

...................................................................415

Why Integrate Axis2/Java into Spring...........................................................................................415
Example of Integrating Axis2/Java with Spring............................................................................415

Modifying EmpInfo on Windows using Eclipse IDE...............................................................416

Creating the

SpringInit

.java File....................................................................................417

Creating the

services.xml

File.......................................................................................418

Modifying the applicationContext.xml File........................................................................418
Creating the build.xml File.................................................................................................419
Adding Dependency

JAR

Files...........................................................................................420

Deploying EmpInfo on NonStop.............................................................................................421

Creating the EmpInfo AAR File on Windows....................................................................421
Deploying the EmpInfo AAR File in Axis2/Java on NonStop............................................423

Running EmpInfo Web Service on NonStop............................................................................424
Developing EmpInfoClient on Windows.................................................................................425

Creating the EmpInfoClient Project in Eclipse...................................................................425
Creating the Package for EmpInfoClient............................................................................428
Creating the

EmpInfoClient.java

File.........................................................................429

Modifying the

EmpInfoClient.java

File......................................................................430

Adding Dependency

JAR

Files...........................................................................................432

Running EmpInfoClient on Windows.....................................................................................433

22 Integrating MyFaces into Spring

.......................................................................439

Why Integrate MyFaces into Spring..............................................................................................439
Example of Integrating MyFaces into Spring................................................................................439

Modifying EmpInfo on Windows using Eclipse IDE...............................................................440

Removing the Folders and Files from the EmpInfo Application.......................................441
Modifying the web.xml File................................................................................................441

Table of Contents

13

This manual is related to the following products: