You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package mytimepak;
public class MyTimeBean implements javax.ejb.SessionBean {
public void ejbCreate() {}
public void ejbActivate() {}
public void ejbPassivate() {}
public void setSessionContext(javax.ejb.SessionContext ctx) {}
public void unsetSessionContext() {}
public void ejbRemove() {}
public String getTime() {
String s = new java.util.Date().toString();
return s;
}
}
Expected
package mytimepak;
import ...springframework..Service;
import ...springframework..Transactional;
/**
* An EJB named MyTimeBean
*/
@Service("TheTimeBean")
@Transactional
public class MyTimeBean {
public String getTime() {
String s = new java.util.Date().toString();
return s;
}
}
Depends-on #62
What needs to be done
Provide a recipe to migrate a simple EJB 2.1 to Spring Boot.
Why it needs to be done
Acceptance Criteria
Given
Expected
Additional Information
The text was updated successfully, but these errors were encountered: