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. hi....
can u please show me the code for fi

View Tutorial          By: pooja at 2012-07-08 16:08:08

2. Excellent example !!!
View Tutorial          By: mah at 2010-11-27 04:06:22

3. good work done.
View Tutorial          By: Nitin at 2009-08-29 10:51:41

4. Thanks For This Explanatory Tutorial .
View Tutorial          By: Pralay at 2013-06-15 03:50:26

5. Hi,
I wann to insert data into excel file b

View Tutorial          By: PRUTHVIRAJ RATHOD at 2011-05-23 11:42:14

6. Hi Shreya, in Linux, the COM ports are identified
View Tutorial          By: Ramlak at 2008-06-23 03:34:11

7. MSComm1.Settings="9600,n,8,1"

View Tutorial          By: ali at 2012-02-25 21:52:21

8. I used code when command button clik , it wil show
View Tutorial          By: sekh umar at 2011-06-23 01:40:21

9. its a big help!..thankz
View Tutorial          By: mezer at 2013-07-17 05:34:07

10. Hi
I have been trying for the same thing f

View Tutorial          By: Zaid Kazi at 2012-01-30 15:43:46