In JAX-RS, getting values from MatrixParam in jersey is very easy.
@MatrixParam annotation is used to bind the key=value from path variable parameters in Jersey which is separated by semi-colon (i.e 😉 and it’s very handy.
Continue reading JAX-RS : How to Get Values from @MatrixParam in Jersey
We can easily convert xsd file into .java with help of xjc tool in few steps.
Please refer below step:
1. Download xjc tool.
2. Set environmental variables.(see how to set sjc env)
3. Verify xjc environmental variable is set properly in shell/console.
4. xjc -d filename.xsd , it will generate corresponding .java and .object files.
The NoSQL (not only SQL) databases are primarily categorized on the basis of how the data is stored. They are optimized for insert and retrieve operations on a large scale with built-in capabilities, key feature as Performance, horizontal Scalability, replication, clustering.
Continue reading Type of NoSQL databases
1. Get JDBC Connection with MySQL
Continue reading How To Get JDBC Connection
HTTP status code is very much important in the restful webservice and we should use appropriate status code from the server. HTTP provides response codes to inform clients of the status of their request. Use them carefully! Continue reading Understanding of HTTP Response Code