• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sample 2nd chapter

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
while working and searching in OTN , I came across chapter 2 of their book.Patrons can follow this link:

http://www.oracle.com/technology/products/ias/toplink/jpa/resources/Pro_EJB_3-Java_Persistence_API-Chapter2.pdf

Dear authors , I have very good working knowledge of RDBMS and Servlet/JSP . Is it easy for me to move into EJB3.0 with this experience. The reason i am asking is , i was able to follow the chapter initially with little difficulty as it mapped well with my DB knowledge .But i must accept that i got lost after first few pages.
Can you please provide a road map for me ? How do i go about learning EJB ?
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is this sample ? The table of contents if full, whereas the one provided at APress is only the first page !
 
author
Posts: 304
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

What is this sample ? The table of contents if full, whereas the one provided at APress is only the first page !



Good point. I have outlined bits of the TOC in other threads, but those that want a better idea of what is in the book should download this chapter because it includes the TOC in its entirety.

Ram, I am not sure where you got lost. Perhaps you should start with a Glassfish tutorial on Java EE or how-to on OTN.

-Mike
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike,
Sorry, that's why I asked about the content in other threads.
If I'd known there was this sample ! :roll:
 
Ram Gokul
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike,
I was able to understand the chapter by itself . But i could not get the complete picture .

1. Once you created service class , how do you run it ? The persistance.xml file , in which directory it goes? Things like that .I was looking for "Implementation details."( but as you said earlier this book is about the concepts and not a working model ).

2. Also in persistance.xml we seem to be using Toplink drivers .Is Toplink an implementtion of EJB 3.0 JPA ? ( As oracle IAS is implementation of J2EE 1.4 ? ).
[ August 16, 2006: Message edited by: Ram Gokul ]
 
author
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ram,

The examples for the book available on the Apress web site expand the example in the book to show a simple working client. The persistence.xml file goes in the META-INF directory. This is discussed briefly at the end of the chapter and then in detail later in the book.

TopLink Essentials is the reference implementation of the JPA. Oracle contributed it to the GlassFish project to ensure that a high quality reference implementation would be available. It is a derivative of the commercial TopLink product.

Cheers,

Merrick
 
Do you want ants? Because that's how you get ants. And a tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic