Sam Woodard

Greenhorn
+ Follow
since Jun 21, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sam Woodard

2 reasons:

1) To separate the model from the business logic.
2) Eclipse provides additional functionality for ddl generation, etc for jpa projects
I have tried it both ways. Same result.

Thanks,
Sam
I have the following code in my ejb



i am getting,



f have put both toplink jars in the lib directory of the server, of the domain, in the ear and in both projects, the java jpa project and the ejb project, with no success.

My persistence.xml looks like this:



Any help would be greatly appreciated.

Thanks in advance,
Sam
I am having a similar problem, but I cannot even inject my ejbs into my servlet.



The commented out code works, but the injection does not. I get a null pointer.