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. The best explanation....Thanq :)
View Tutorial          By: Gautham at 2012-01-29 05:05:48

2. Did you happen to import any certificates to execu
View Tutorial          By: Shashank at 2013-03-15 12:17:50

3. i have to write a calculator program for very ve
View Tutorial          By: maryam at 2012-12-31 10:21:55

4. Nice explaination of constructor and destructor. B
View Tutorial          By: Anon at 2009-03-01 03:50:06

5. It seems author has half knowlage
EJB main

View Tutorial          By: Aryan Siddharth Singh Gautam at 2010-03-22 03:40:11

6. Hi professional,
I tried the above code but

View Tutorial          By: Srinivas at 2008-05-05 23:32:13

7. nice article... got th topic clearly
View Tutorial          By: praba at 2011-05-09 23:29:26

8. i have a error while i running this program

View Tutorial          By: parul at 2012-02-08 15:40:09

9. Hi
I am newly in java. I have one dought.

View Tutorial          By: Dinakar at 2008-07-26 01:13:08

10. nice tutorial with discussion
View Tutorial          By: Md Firoz at 2012-01-07 11:00:29