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:13:41

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. it is a good example to understand.
View Tutorial          By: nivedha at 2011-07-12 05:15:39

2. In listing 6.2 I don't see the variable name itsAg
View Tutorial          By: JC at 2013-04-16 01:49:52

3. Its self-explaining and fullfilling example.
View Tutorial          By: vijay at 2010-03-29 02:36:41

4. How to return values when there may be muliple row
View Tutorial          By: asd at 2013-11-22 01:24:47

5. Hi santhosh,
Try it ou

View Tutorial          By: Kiran at 2011-12-14 04:31:29

6. The tutorial is simple and clear.
@Gnani, i

View Tutorial          By: Tayo at 2010-01-03 13:10:24

7. so what about, if i need to remove these letters f
View Tutorial          By: need Help at 2009-11-12 08:40:31

8. programs are making the concept easy.its a nice pr
View Tutorial          By: veeru at 2010-05-12 22:10:25

9. Excellent article. Please make the email id of the
View Tutorial          By: Rajita at 2008-03-25 09:31:27

10. I download this program, but I need how to run. wh
View Tutorial          By: prabha at 2011-06-21 04:52:42