XML is a tag-based language for defining structured information, commonly used to define documents and data shipped over the Web and other applications. To get information from XML, developers need to parse the XML There are different ways to parse a XML file in Python
- Parse XML using re Pattern Module.
- Parse XML using DOM parser.
- Parse XML using SAX parser.
- Parse XML using ElementTree from etree package.
Jersey is very popular framework to build restful services. In our previous blog Jersey 2 Hello World Example, we came up with basic example to get start with jersey framework. In this blog we will be discussing CRUD operation with jersey which will help you to create restful services with back end data. Technologies used in this examples are : Read the rest of this entry »
Jersey is very popular framework to build restful services. In this tutorial, we will learn how to do HTTP basic authentication, so that user won’t be able to access any resource untill they provided the correct username and passowrd. This example has been extended from our previous simple Jersy 2 Hello World tutorial. Please refer the previous tutorial for technology used and basic configurations.
Java IO package contains classes which programmers are used to read content of a file . However, there are different ways to read content of a file and thus create dilemma to select one method over other. To select a efficient way, one should first consider nature of input file, content whether small or large and so on. In this blog, we have come up with different ways to read a file in Java with example. Read the rest of this entry »