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. Dear sir/madam

can you please show

View Tutorial          By: kgothatso at 2011-05-13 17:46:19

2. This is very simple code and very much understanda
View Tutorial          By: Prem Anand at 2013-05-04 11:21:16

3. Its working Great.
Here i want to ask one

View Tutorial          By: Manish at 2015-03-18 11:55:20

4. Good.understand
View Tutorial          By: Selva at 2009-12-29 23:27:29

5. an excellentttttttt siteee
View Tutorial          By: raza at 2011-04-02 10:39:46

6. The arraycopy in a System is static native method
View Tutorial          By: Ashwinkumar.vj at 2011-07-19 09:25:02

7. Thanks a lot of!! at last I understood how use Arr
View Tutorial          By: Juan Carlos Aviles at 2011-03-11 05:22:03

8. I running this on localhost offline and getting er
View Tutorial          By: nitisha at 2011-05-14 09:18:16

9. Hi to All,
I am working on struts based apl

View Tutorial          By: Ishmayel at 2009-02-19 21:27:14

10. I want full information about Java & Data Stru
View Tutorial          By: s.karthick at 2015-05-07 05:32:24