wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 5126
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: main() method in RemoteBusinessServiceImpl class
 
Similar Threads
First GUI program
what did i break? "no main method found"
Marcus Green's Mock question
Can't get Head First Java Code to run
Garbage collection problem