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



Ask a Question

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. Good one ! and simple tutorial
View Tutorial          By: Sim at 2011-02-24 01:57:53

2. Thanks a lot !
View Tutorial          By: Kalander bava ta at 2012-11-04 08:07:15

3. You explained the this Keyword very well.
&

View Tutorial          By: Karan at 2012-12-04 11:27:35

4. Hi all
I connected my mobile wi

View Tutorial          By: sruthy at 2010-07-07 03:44:27

5. Nice tutorial, I got how it's done, but the differ
View Tutorial          By: FriendlyNoob at 2015-07-20 17:27:08

6. Thanks, much appreciated!
Saved a great dea

View Tutorial          By: alan at 2009-08-14 01:35:01

7. BEST COMMENT EVER:
"Reading the above

View Tutorial          By: Mr.X at 2013-10-02 16:31:42

8. This article helped me a lot to learn struts 2 and
View Tutorial          By: Shiv Prakash at 2012-12-07 07:37:35

9. Buenisimo tutorial, este rebuena la cosa
Gr

View Tutorial          By: Popoca at 2010-04-20 15:50:29

10. the spinner example is very nice...
View Tutorial          By: narendra at 2011-11-23 11:16:47