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 job
View Tutorial          By: gopi at 2008-07-01 02:02:48

2. nice material
View Tutorial          By: ravi at 2008-12-24 00:40:12

3. thanks a lot
View Tutorial          By: Uzzal biswas at 2014-11-04 02:42:54

4. Hi,
I have loaded all 5 java classes and i

View Tutorial          By: DurgaPrasad at 2011-11-24 06:02:19

5. need to be explained more
View Tutorial          By: parul at 2011-06-30 08:34:29

6. where's your main sir?
View Tutorial          By: armor at 2010-12-08 01:00:45

7. how about this?...
#include<iostream.h&g

View Tutorial          By: nadia at 2010-10-04 21:48:04

8. How i can comment in server?Some another message
View Tutorial          By: Youjizz at 2013-04-09 00:30:47

9. Precise information in the article, however it wou
View Tutorial          By: Ketan at 2009-06-23 05:07:39

10. This code was quite helpful .I wud like to ask cod
View Tutorial          By: Namrata at 2008-08-03 04:09:06