Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Need Suggestion after doing Enthuware Test1

 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have completed the Test1 of Enthuware but only get 66%

The failed objective is as follows:
1. EJB 3.0 Overview
2. General EJB 3.0 Enterprise Bean Knowledge
3. Java Persistence Entity Operations

Can anyone suggest how should I improve my marks in this area ? the test seems like having 20 questions on the first 2 objective abovementioned, which make me feel worry.

and the objective knowledge that I feel most confuse and can't understand well is the
Persistence Units and Persistence Context

Any suggestion ?

Thanks in advance ~ !
 
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Lee Kian Giap wrote:I have completed the Test1 of Enthuware but only get 66%

The failed objective is as follows:
1. EJB 3.0 Overview
2. General EJB 3.0 Enterprise Bean Knowledge
3. Java Persistence Entity Operations

Can anyone suggest how should I improve my marks in this area ? the test seems like having 20 questions on the first 2 objective abovementioned, which make me feel worry.

and the objective knowledge that I feel most confuse and can't understand well is the
Persistence Units and Persistence Context

Any suggestion ?

I would appreciate some help here too but I feel that the difference between the two amounts to how much control you wish to have.

PersistenceContext provides you with a container managed entityManager instance where you do little work.

PersistenceUnit provides an application manged entityManager interface. This means the application will need to do things like create a entity manager and ask it to join a transaction. You will manually need to start the manager with methods like begin and and COMMIT yourself when you please. IOW Persistence CONTEXT = easier and PersistenceUnit = more work;


Thanks in advance ~ !

 
Yucca Nel
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Lee Kian Giap wrote:I have completed the Test1 of Enthuware but only get 66%

The failed objective is as follows:
1. EJB 3.0 Overview
2. General EJB 3.0 Enterprise Bean Knowledge
3. Java Persistence Entity Operations

Can anyone suggest how should I improve my marks in this area ? the test seems like having 20 questions on the first 2 objective abovementioned, which make me feel worry.

and the objective knowledge that I feel most confuse and can't understand well is the
Persistence Units and Persistence Context

Any suggestion ?


Thanks in advance ~ !



I would appreciate some help here too but I feel that the difference between the two amounts to how much control you wish to have.

PersistenceContext provides you with a container managed entityManager instance where you do little work.

PersistenceUnit provides an application manged entityManager interface. This means the application will need to do things like create a entity manager and ask it to join a transaction. You will manually need to start the manager with methods like begin and and COMMIT yourself when you please. IOW Persistence CONTEXT = easier and PersistenceUnit = more work;JEE tutorial
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic