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. Thank you!!
View Tutorial          By: Diego at 2015-07-16 21:11:58

2. Following question to this topic:
- when i

View Tutorial          By: Alistair at 2012-01-14 10:59:52

3. this is no doubt a simple program for the learner
View Tutorial          By: shweta at 2008-07-12 01:18:59

4. You can save a file from the content of the input.
View Tutorial          By: anne at 2011-11-22 10:50:10

5. You talk about "dictionary order". How w
View Tutorial          By: Magnus A at 2010-08-31 22:58:06

6. java.lang.IllegalArgumentException
at java

View Tutorial          By: gopal at 2011-03-21 00:45:51

7. Good examples for beginners.
View Tutorial          By: Sagar at 2009-10-16 01:04:46

8. Very easy and simple to understand....good article
View Tutorial          By: Ashish at 2009-10-07 00:58:08

9. clear concept explanation..
View Tutorial          By: ASHOK at 2013-01-16 07:31:35

10. its so nice
View Tutorial          By: senthilkumar at 2010-11-11 02:44:37