Thread: @ annotations
View Single Post
  #2 (permalink)  
Old 12-12-2007, 12:04 PM
javaplus javaplus is offline
Member
 
Join Date: Nov 2007
Posts: 97
javaplus is on a distinguished road
I am not well equipped with "java annotations" knowledge but they are used in EJBeans for different reasons. For instance:
Code:
import javax.ejb.Stateless; @Stateless public class HelloWorld implements HelloWorld { public void greeting(String pName){ System.out.println("Hello " + pName); } }
Reply With Quote