PPT Slide
Developing EJBs (continued)...Client code to invoke EJBObject methods
public class AccountClient {
public static void main( String[] args ) {
//use the Home Interface to create a Session Bean
(Account)home.create(1234,"Athul",100.0);
//invoke business methods
account.credit( 1000001d );
System.out.println(“Balance = ”+ account.getBalance());