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. its not sufficient add more details..
View Tutorial          By: vikas at 2013-04-12 12:06:01

2. good!
View Tutorial          By: rey.ryan at 2009-03-14 05:49:28

3. very good and very simple for beginers
View Tutorial          By: Biju Thomas at 2010-08-17 08:09:30

4. hi.....
if we have number of fieldsl ike na

View Tutorial          By: shailesh at 2011-12-15 07:10:34

5. help me for learning to programing with java

View Tutorial          By: hemn at 2008-11-25 03:12:19

6. IS Java Comm API will supports thw windows?
View Tutorial          By: SAM at 2008-05-29 03:26:44

7. This Example program is very useful.
good w

View Tutorial          By: sathya at 2008-03-28 02:21:41

8. grt tutorial
View Tutorial          By: sss at 2009-08-30 03:33:13

9. yes simple good it wroking goog
View Tutorial          By: durga prasad pavirala at 2009-02-11 03:43:04

10. good
View Tutorial          By: Devil vampire at 2009-03-23 12:20:03