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. A useful article. It answered my question about wh
View Tutorial          By: Kris Heidenstrom at 2011-05-28 04:15:05

2. Thanks. Your post was clear and worked perfectly a
View Tutorial          By: Suma at 2009-03-05 09:40:08

3. It is very useful for me guyzz......thanx.......:-
View Tutorial          By: Rajesh at 2012-09-29 10:11:45

4. the above code works fine for. May someone help wi
View Tutorial          By: T.T at 2012-02-23 06:22:36

5. hi,
i use spinner concept in my project but

View Tutorial          By: lavanya at 2013-03-01 06:25:01

6. better..................
implements........

View Tutorial          By: sunny at 2012-01-04 17:30:12

7. Hi all, i have tried above code, but am getting fo
View Tutorial          By: swathi at 2010-06-24 05:18:28

8. could you plz tell me how to run this all programs
View Tutorial          By: abhishek at 2010-10-27 00:08:57

9. How can I delete the data that I have entered into
View Tutorial          By: selina at 2011-08-15 05:15:45

10. where is mysdfile.txt file created. where can i fi
View Tutorial          By: Venkatesh at 2014-11-12 10:53:52