Showing posts from September, 2015

'RESTful Java Web Services - Second Edition' is published !

My book on RESTful Java Web Services - Second Edition  is published in Sep 2015. Title: RESTful Java Web Services - Second Edition Publisher:  Packt Publishing ISBN-10:  1784399094 ISBN-13:  978-1784399092 More details here: Who This Book Is For ? If you are a web developer with a basic understanding of the REST concepts but are new to the idea of designing and developing RESTful web services, this is the book for you. As all the code samples for the book are written in Java, proficiency in Java is a must. About This Book A step-by-step guide packed with many real-life use-cases to help you build efficient and secure RESTful web APIs in Java Table of Contents Chapter 1, Introducing the REST Architectural Style , covers the REST software architectural style and core architectural elements that form a RESTful system. Chapter 2, Java APIs for JSON Processing , gives an overv

Configuring JNDI Data Source connecting to Oracle DB in GlassFish Server

This post shows how to configure JNDI data source connecting to Oracle database in GlassFish server.  Although this post is written to help readers of   RESTful Java Web Services - Second Edition   to run the examples shipped along with the book, the steps discussed here are generic in nature and applicable for any Maven based project that you want to run from NetBeans IDE. NetBeans  is a free IDE  for developing and running Java applications, including enterprise applications(Java EE). NetBeans comes with an integrated GlassFish Server to deploy and run your Java EE web applications. If you are building a Java EE web application from scratch using NetBeans, the IDE will automatically deploys the data source used in the application(if any) to GlassFish server, and thereby freeing you from the responsibilities of  defining the data source in the target server. What if  you want to run a Java EE example, shipped by third party,  from NetBeans IDE?  How do you define JNDI data sou