Code.GeekInterview.com
  I am new, Sign me up!
 
Home Tech Tutorials Java

TopLink JPA outside EJB3 Container in TomCat 5.5

Author: bderzhavets.blogspot.com      Published: 3rd Nov 2006     Visited: 6041 times 
Category: Java
Add Comment
 
Web Application described bellow uses JSF for presentation layer,methods for data management are encapsulated into JSF Managed Beans and utilize JPA invokes Entity Manager. Persistence layer is done with entity beans (Toplink Essentials). Runtime and Rollback Exceptions are not supposed to be caught.So, code may be used only for testing purposes. View [1] for details regarding mentioned exceptions. Basic explanation how to create entity beans for database tables (persistence layer) may be found in [1],[2],[3].
Main screen displays Dept table from scott’s schema. For each department "Employee" button displays records of all employees for selected department on the next page. Every employee record may be edited (including java.sql.Date type field "hiredate") or removed from scott.emp table. Button "Create new employee" inserts a new employee record for department been selected on the starting page. Button "Back to Departments" forwards back to starting page.


Read Article
 

Sponsored Links

 


Related Articles

 Oracle Donates TopLink to Eclipse Oracle has announced it will donate the Oracle TopLink Java persistence framework to the open source community Now an Eclipse Board Member and Strategic Developer Oracle also proposes the creation of a new Eclipse Persistence Platform pro ...

 Defining Data Sources in Tomcat 5.5 Java Studio Creator Evangelist David Botterill blogs on the critical pieces to allow you to talk to the sample database in Ja ...

 TopLink JPA inside EJB 3.0 Container (JDeveloper 10.1.3) Application designed satisfies same business requirements as 1 and doesn t contain any hands written code line for creating new orders and editing existing Deleting orders from Master Detail page requieres modifying of default method embedded into JSF managed Bean http bderzhavets blogspot com 2006 ...

 Developing for the J2EE Tomcat Platform This is very good tutorial which explains about Developing for the J2EE Tomcat Plat ...

 For Tomcat Developers, Aspire Comes in a JAR by Satya Komatineni 10 30 2002 Aspire jar Utility for Data Access Configuration Logging and Factory Needs Aspire jar is a free open source jar file that can be used for declarative data access configuration logging and factory services needs For Java developers who are continuing to adopt Tomcat as ...

 Using Hierarchical Data Sets with Aspire and Tomcat by Satya Komatineni 03 05 2003 What are Hierarchical Data Sets and Why Do You Care Hierarchical Data Sets are not new They already exist in the form of CICS transactional data files in directories and plain Java objects as well as the obvious XML In the XML Journal in early 2001 I floated the idea t ...

 OpenEJB: EJB for Tomcat by Jacek Laskowski 02 12 2003 There has probably been a day in your life when you ve asked yourself if your web application might use other J2EE concepts besides Java servlets Your dilemma has most likely been quot; Although I could read the specifications I don t have time to set up the containers ...

 Integrating/Improving Performances of Tomcat and IIS on Windows Server By Akash Kava IIS is Microsoft s Internet Information Server running on the Windows Servers family Tomcat is a worldwide used Web server built on the Java platform for JSP Servlets Due to the ease of operating and maintaining IIS in a Windows environment we still prefer to buy the Windows server and ...

 Critical Steps to Secure Tomcat on Windows NT/2K/XP By Akash Kava Tomcat is a worldwide used Web server for JSP and servlets It runs with proper the JAVA Runtime and supports object oriented Web application deployement Running Tomcat is simple; just install Tomcat with the default installer given on Tomcat s website No one knows fully how dangerous ...

 Using SOAP with Tomcat 02 27 2002 The Apache SOAP Project is an open source Java implementation of the Simple Object Access Protocol SOAP v1 1 SOAP is a wire protocol that leverages HTTP or SMTP as its transport layer and XML as its data layer to execute remote methods known as SOAP services The Apache implementation of S ...



Next: Control Structures



Post Comment


Members Please Login

Name:
Email: (Optional)
 (Used for Notification)
Title:
Comment:
Validation Code:
 <=>  (Enter this code in text box)


Subscribe

 


Daily Email Updates

GeekInterview Articles Updates delivered directly to your Inbox...

Enter your email address:


Latest GeekInterview Articles Updates

Sponsored Links


 

Popular Articles

About Us -  Privacy Policy -  Terms and Conditions -  Contact  

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape