You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Michael Merz <mm...@bea.com> on 2004/08/20 02:01:20 UTC

JSR-181 JWS file extensions: .jws vs .java

Hi all,

Axis 1.x expects Java Web Service files to have a ".jws" extension. This
certainly makes sense, since there Axis can't differentiate between Java
Web Service files and regular Java files just by looking at their
contents.

JSR-181, however, makes additional information available in form of
metadata (annotations). With this additional information it is now
possible to tell Java Web Service source files apart from regular Java
source files -- just by looking at the files' contents; thus, the ".jws"
extension is not necessary anymore.

Since Java Web Service source files are Java files, I suggest to get rid
of the ".jws" extension altogether and to support the standard ".java"
extension for Java Web Service files.

Comments? Opinions?

Cheers,

-michael