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. Good examples. However... I am testing for a Hex v
View Tutorial          By: Doug Whitehead at 2008-11-29 17:10:43

2. This is all the code that you need for creating dr
View Tutorial          By: subduedjoy at 2012-03-20 20:52:18

3. Hello, your post helped me a lot with solving my o
View Tutorial          By: Florian Brunner at 2008-06-26 08:59:42

4. Can any one say how to send a message to a particu
View Tutorial          By: Sankar guru.P at 2012-01-05 07:43:44

5. You can also include a hidden field of the same na
View Tutorial          By: Stray at 2010-01-05 08:07:47

6. Nice its very good starter
View Tutorial          By: Gajula Mahesh at 2012-10-28 13:33:06

7. it giving me error in following statment (using wi
View Tutorial          By: prathamesh at 2007-03-16 05:57:20

8. can you have a user input tutorial for LinkedList]
View Tutorial          By: joedjoaquin at 2013-01-22 01:59:23

9. Easy to understand
View Tutorial          By: suji at 2012-02-21 08:28:05

10. Thanks a ton! :)
View Tutorial          By: Prateek at 2015-03-12 11:40:08