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. how to comapre two hash map
View Tutorial          By: vinay at 2013-05-03 10:21:57

2. Please let me know the SMSConnector number of any
View Tutorial          By: Chandra Shekhar at 2009-04-01 00:21:54

3. thanks...please give some more examples
View Tutorial          By: Iqra at 2012-06-24 18:57:51

4. #include<stdio.h>
void main(){

View Tutorial          By: niru at 2012-07-21 07:26:27

5. ya its correct but tell me where is main method???
View Tutorial          By: kashiNATH MOKASHI at 2011-08-20 05:33:19

6. Hello to Every one!! :-),HERE I'AM NOT WRITING A C
View Tutorial          By: Pulkit Malviya at 2012-08-26 14:56:18

7. How to download more than one files. If I use for
View Tutorial          By: Riyas at 2012-01-08 07:55:03

8. how to run this program? give sample code to cre
View Tutorial          By: meena at 2012-01-12 11:52:03

9. Its really good and helpfull..........
chee

View Tutorial          By: sumit at 2009-04-28 05:17:17

10. please i need the link to download the file requir
View Tutorial          By: kamahsteve at 2012-11-17 10:20:22