Category Archives: java

Java JEE related post , tutorial , basic things.

How to write hello world Java Webservice client

Oracle Java
In java, you can write your java webservice client by different ways. If you have wsdl, and its accessible, you can generate java client code on terminal using wsimport tool. If you are interested in, how to generate java webservice source code using wsimport? you can visit our another post, i.e. How to generate Java Webservice artifact using wsimport (on linux terminal or window).
Continue reading How to write hello world Java Webservice client

JAX-WS: wsimport tool example with step by step

Oracle Java In JAX-WS you can generate the server side artifact and client side artifact of webservices using wsdl. It is your choice , how you start of developing webservice either Top-down ( contract-first ) or Bottom UP ( java code first). Which is better is better approach is completly depend on your preference and nature of services.
Continue reading JAX-WS: wsimport tool example with step by step

ClassNotFoundException in Java

Oracle Java

NoClassDefFoundError and ClassNotFoundException are two similar exception sound on high level in Java but intent of both type of exception are different. Although every developer must have encountered during development days, some are confused, someone understand , some one try to solve either by googling or another source but one thing is common they encounter this Exception type.
Continue reading ClassNotFoundException in Java