• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

defining business methods as public

 
Walker Rustin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
INESystem exam has marked the following answer as correct for Entity bean local component interface.
public interface Customer extends EJBLocalObject {
void updateName(String newName) throws CustomerException;
}
I thought business methods must be public? any comments?
- Walk Rustin
 
Weerawit Maneepongsawat
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In interface all method is public and abstract if you not insert in your code the complier will do it for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic