Posts

Showing posts from September, 2012
Image
 Google app engine Java hello world example using Eclipse In this tutorial, we will show you how to use Eclipse to create a Google App Engine (GAE) Java project (hello world example), run it locally, and deploy it to Google App Engine account. Tools used : JDK 1.6 Eclipse 3.7 + Google Plugin for Eclipse Google App Engine Java SDK 1.6.3.1 Note GAE supports Java 1.5 and 1.6. P.S Assume JDK1.6 and Eclipse 3.7 are installed. 1. Install Google Plugin for Eclipse Read this guide – how to install Google Plugin for Eclipse . If you install the Google App Engine Java SDK together with “ Google Plugin for Eclipse “, then go to step 2, Otherwise, get the Google App Engine Java SDK and extract it. 2. Create New Web Application Project In Eclipse toolbar, click on the Google icon, and select “ New Web Application Project… ” Figure – New Web Application Project Figure – Deselect the “ Google Web ToolKit “, and link your GAE Java SDK via the “ co

MongoDB hello world example

Image
 MongoDB hello world example A quick guide to show you how to do basic operations like create, update, find, delete record and indexing in MongoDB. This example is using MongoDB 2.0.7, running on Mac OS X 10.8, both MongoDB client and server console are run on localhost, same machine. 1. Install MongoDB Refer to this http://www.mongodb.org/display/DOCS/Quickstart to show you how to install MongoDB on Windows, Linux or Mac. The installation is easy, basically just download the MongoDB zip file, extra and run the command – $MongoDB-folder/bin/mongod . Uses mongod to start MongoDB. $. / mongod Tue Sep 11 21:55:36 [ initandlisten ] MongoDB starting : pid =72280 port =27017 dbpath = / data / db / 64-bit host =Yongs-MacBook-Air.local Tue Sep 11 21:55:36 [ initandlisten ] db version v2.0.7, pdfile version 4.5 Tue Sep 11 21:55:36 [ initandlisten ] options: { } Tue Sep 11 21:55:36 [ initandlisten ] journal dir = / data / db / journal Tue Sep 11 21:55:36 [ init
Introduction to Web services technologies Web Services Introduction Before understanding why web services are popular or so important, you should first assess ‘What is Web Services, what’s its use and how does it work?’ The nature and functionality of web services have made it very popular. Nowadays, our business systems have matured, transparent and more logical and high tech, and all for these are because of web services. Definition Web services are the amalgamation of eXtensible Markup Language (XML) and HyperText Transfer Protocol HTTP that can convert your application into a Web-application, which publish its function or message to the rest of the world. In other words, we can say, web services are just Internet Application Programming Interfaces (API) that can be accessed over a network, such as Internet and intranet, and executed on a remote system hosting the requested services. Web-applications are simple applications that run on the web. Web services are b