About Question enthuware.oce-ejbd.v6.2.422 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
JanOhrstrom
Posts: 9
Joined: Sun Aug 25, 2013 8:40 am
Contact:

About Question enthuware.oce-ejbd.v6.2.422 :

Post by JanOhrstrom »

I have a suggested correction for answer 1.

Current text:

@Stateless
@TransactionManagement(BEAN)
public class MySessionBean implements MySession {
...
}

Suggested correction:
@Stateless
@TransactionManagement(TransactionManagementType.BEAN)
public class MySessionBean implements MySession {
...
}
Or maybe (BEAN) is some sort of short form for Enum Constant (TransactionManagementType.BEAN)?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.422 :

Post by admin »

Hi,
Yes, it can be assumed that TransactionManagementType.* has been statically imported since the full code listing is not shown. (Even @Stateless will not work without appropriate import statements).

This has now been updated to make it more clear. Thank you for your feedback!

-Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest