File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes main() method in RemoteBusinessServiceImpl class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "main() method in RemoteBusinessServiceImpl class" Watch "main() method in RemoteBusinessServiceImpl class" New topic
Author

main() method in RemoteBusinessServiceImpl class

Carlos Morillo
Ranch Hand

Joined: Jun 06, 2009
Posts: 221

Hi Everybody,

I had this method when I was testing RMI without the GUI.
Now that submission time is around the corner, shall I remove this
main() method, or is it OK to leave it?

Thanks,

Carlos.


SCSA, OCA, SCJP 5.0, SCJD http://www.linkedin.com/in/carlosamorillo
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5226
    
  12

I never had a main method in there


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Naveen Narayanan
Ranch Hand

Joined: Sep 11, 2007
Posts: 114

I have only one main() in my entire application


SCJP 5.0, SCJD, SCWCD
Ralf Titgemeyer
Greenhorn

Joined: May 18, 2010
Posts: 9
Hi Carlos,

I also think it is better, if you have only one main() method in your code..

Kind regards,
Ralf


SCJP 6.0
 
Consider Paul's rocket mass heater.
 
subject: main() method in RemoteBusinessServiceImpl class