Hi there,
I'm a C# developer and diving into J2EE 6.0 and starting with the latest Eclipse Galileo J2EE distribution and Tomcat 6.0.
1) I create a EJB Project (no error).
2) I created a EJB 3.0 Session Bean. Error with import of javax.ejb.Stateless saying: "the import of javax.ejb cannot be resolved". 2nd error with annotation @Stateless: "stateless cannot be resolved to a type"
here's the code.
It totally puzzles me, that this libraries do not come with the Eclipse J2EE compilation - or - am I mistakin? Anything that I miss or need to learn?
Any hint is warmly welcome. I spent hours on this issue.
I'm a C# developer and diving into J2EE 6.0 and starting with the latest Eclipse Galileo J2EE distribution and Tomcat 6.0.
1) I create a EJB Project (no error).
2) I created a EJB 3.0 Session Bean. Error with import of javax.ejb.Stateless saying: "the import of javax.ejb cannot be resolved". 2nd error with annotation @Stateless: "stateless cannot be resolved to a type"
here's the code.
Code:
package com.test.secs;
import javax.ejb.Stateless;
@Stateless
public class Directory implements DirectoryLocal {
public Directory() {
// TODO Auto-generated constructor stub
}
public void deleteUser(){
//TODO Delete user in LDAP.
}
}
It totally puzzles me, that this libraries do not come with the Eclipse J2EE compilation - or - am I mistakin? Anything that I miss or need to learn?
Any hint is warmly welcome. I spent hours on this issue.