Comment on Tutorial - Java WebService - Create your first web service in Java By Emiley J



Comment Added by : Brian

Comment Added at : 2015-08-05 12:15:37

Comment on Tutorial : Java WebService - Create your first web service in Java By Emiley J
when i try to compile the two files by executing this command ( javac javasamples/one/*.java ) i get
javasamplesoneTimserServer.java:12: error: class TimeServer is public, should
be declared in a file named TimeServer.java
public interface TimeServer {
^
javasamplesoneTimserServerImpl.java:8: error: class TimeServerImpl is public,
should be declared in a file named TimeServerImpl.java
public class TimeServerImpl implements TimeServer {
^
2 errors


please help!


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. When the Value Is Returned To The Method Then How
View Tutorial          By: nitin deep singh at 2011-08-09 11:43:07

2. i want some more info to make my final project.
View Tutorial          By: Arshid saeed at 2010-02-18 08:18:45

3. It works like a charm. Thanks a lot.
View Tutorial          By: Balram at 2008-08-22 21:18:44

4. I really thanks to you for providing wonderful inf
View Tutorial          By: Chandra Sekhar Puli at 2009-11-07 04:03:44

5. You only need 1 main method per application, not 1
View Tutorial          By: Michael at 2011-09-02 02:37:51

6. really understandable
but 'm expecting with

View Tutorial          By: rajkumar at 2008-03-14 03:53:21

7. This is a great tutorial. I have a slight problem,
View Tutorial          By: Vix at 2010-11-22 13:42:03

8. I want to download that 5 sms sending program .fro
View Tutorial          By: anwar at 2008-09-08 02:22:06

9. Thanks alot that was quite helpful!
View Tutorial          By: Doaa at 2013-01-09 09:37:35

10. wats the output ?
View Tutorial          By: siri at 2011-10-25 08:20:10