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. I am using VS 2010 Express and MS Excel 2007 where
View Tutorial          By: Alphin at 2012-07-06 10:57:07

2. Programs are so good..!
i wish to say one t

View Tutorial          By: Shashikumar Misal at 2012-09-01 20:35:47

3. how to solve this problem

javax.com

View Tutorial          By: rajani at 2009-07-18 05:44:55

4. To "need help":

String st

View Tutorial          By: alex at 2010-05-13 09:57:25

5. good
View Tutorial          By: Sudip Khatiwara at 2010-04-23 00:52:58

6. This is a great article that deals with the evolut
View Tutorial          By: JPS SASTRY at 2009-02-11 21:29:56

7. Everything is running.... But it doesn't send....
View Tutorial          By: Amirtharaj at 2009-04-14 05:26:26

8. I want to redirect from a servlet page to another
View Tutorial          By: dinesh at 2014-10-20 16:44:26

9. how to code for images hitting in jsp like googl
View Tutorial          By: Kumaravel at 2014-08-06 11:23:08

10. Thanks a lot for this nice tutorial, it is very he
View Tutorial          By: Ted at 2014-02-07 12:50:24