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. fantastic explaination about XML parsers
View Tutorial          By: smitha at 2011-05-15 04:53:00

2. a big thanks!
View Tutorial          By: xamae at 2010-01-13 02:52:51

3. please sent the java code for course plan automati
View Tutorial          By: vijayakumar.r.r at 2009-08-27 01:39:22

4. Good explaination, easy to understand
thank

View Tutorial          By: channaveer at 2010-05-02 05:03:21

5. Can u please tell me how to compile and execute a
View Tutorial          By: RJ at 2010-04-20 01:30:10

6. hey what If I'm connecting to a server(XMPP in my
View Tutorial          By: garima at 2015-08-10 13:23:40

7. You can have a look at the tutorial written by Era
View Tutorial          By: John Berger at 2011-03-26 09:24:22

8. Hi,

I can use this programme to sen

View Tutorial          By: malak at 2012-11-25 17:21:00

9. @mahesh yes you can use this to connect to any db
View Tutorial          By: Rita sen at 2012-01-05 05:18:13

10. i'm a student and new to all these HTML and JSP.
View Tutorial          By: sillee at 2009-08-13 03:22:14