Reputation: 18221
I have JDK 17 and JDK 1.8 on my Windows PC. Why does JDK 17 not contain wsgen.exe in the bin directory while JDK 1.8 contains it? How can I build web applications without wsgen?
Upvotes: 0
Views: 865
Reputation: 22041
For the latest version of wsgen.bat
and wsgen.sh
(not wsgen.exe
), look in the Jakarta XML Web Services implementation release, which is part of Project Metro from Eclipse.
Steps:
Go to the Jakarta XML Web Services home page and click on the download link (or click here for a direct download). The link is in the sentence containing the text "... available for download...", if you can't spot it.
Unzip the resulting jaxws-ri-4.0.0.zip
file.
Look in the bin
directory where you will find .bat
scripts for Windows and .sh
for Linux.
If you need a different version, see the Maven listing here: com/sun/xml/ws/jaxws-ri.
Upvotes: 0
Reputation: 11136
Why does JDK 17 not contain wsgen.exe in the bin directory while JDK 1.8 contains it?
Because JEP 320 has removed 9 modules from Java 11, removing alongside tools such as wsgen
and wsimport
(from jdk.xml.ws
).
How can I build web applications without wsgen?
Do you mean how to build? or how to generate/scaffold some code? for building, there are different tools, but for whatever you used wsgen
, you could probably refer to maven plugins, some of which you can find here.
You may also find useful this thread.
Upvotes: 1