Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Suggestion after doing Enthuware Test1

 
Lee Kian Giap
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 ~ !
 
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 ?

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic