Wednesday, February 25, 2009
Tuesday, February 17, 2009
JavaFX
I have joined the JavaFX passion course which is hosted online. Today being the first day, I was able to browse through the sample applications provided by Sun (Thanks to all the contributors). I really hope to venture out in this technology.
JavaFX online Training
JavaFX
Friday, February 13, 2009
Java and Web Services
Foe beginners who want to know what is Web Services, the easiest defintion would be a software system that is used for system - system interaction.
When we say system interaction, its a very broad one. Any system to any system interaction. Yes! Irrespective of the platform, the language or the API, systems can talk to each other using Web Services. Thus Web Services are not restricted to any platform or language or for that matter anything.
Since I had been working with Java for a quite long time, I am more convenient with the object oriented technology. ie) Talking in terms of objects. Objects are sent/received from one end to the other in serialized forms or other forms. But when it comes to Web Services, the whole communication can be done through Extensible Markup Language (XML). However, these XML messages follow up a certain set of standards called SOAP(Simple Object Access Protocol).
I would like to include the link to WebServices tutorial here for any technical reference.
Java Web Services
Let me give a more lively example for Web Services Architecture.
Web Services are like resumes submitted in a job portal. All the resumes are registered in a job portal. When a particular skill is required, the person/company searches for the appropriate skill set(in form of resume) in the registry which is the job portal here. If discovered, that particular individual is invoked for interview. And thereby since the skill matches, the individual is delivered/recruited in the firm.
Similarly, a web service can be developed and registered with the service registry which is called the UDDI. Thus there may be a lot many web services in the internet. These can be accessed by various clients(any application). So when a client requires any particular service, it has to simply search the registry, find the appropriate service, when found, invoke the same n get the service delivered to it. This is the whole work flow of a webservice.
Bho Sambho
Dayananda Saraswathi
pallavi
bhO shambhO shiva shambhO svayambhO
anupallavi
gangAdhara shankara karuNAkara mAmava bhavasAgara tAraka (bho shambho)
caraNam 1
nirguNa parabrahma svarUpa gamAgama bhUta prapanca rahita
nija guhanihita nitAnta ananta
Ananda atishaya akSayalinga
caraNam 2
dhimita dhimita dhimi dhimikiTa kiTatOm tOm tOm tarikiTa tarikiTakiTa tOm
matanga munivara vandita Isha
sarva digambara vESTita vESa
Nithya Niranjana Nitya natesha
Isha sabEsha sarvEsha
Thursday, February 12, 2009
DOJO
The article which I believe to be more helpful is from Java world. It consists of two parts :
Part I : http://www.javaworld.com/javaworld/jw-01-2009/jw-01-introduction-to-dojo-1.html?nhtje=rn_021209&nladname=021209
Part II : http://www.javaworld.com/javaworld/jw-02-2009/jw-02-introduction-to-dojo-2.html?nhtje=rn_021209&nladname=021209
GWT
A small breakdown of GWT which I found useful as a beginner!
http://www.juixe.com/techknow/index.php/2006/05/21/google-web-toolkit-tutorial-the-break-down
Another simple example of developing AJAX using GWT
http://www.ibm.com/developerworks/opensource/library/j-ajax4/
This was the first example I tried out with GWT after downloading the same.
http://www.developer.com/java/web/article.php/3647201
Wednesday, February 11, 2009
My son Pranav's birthday!
Tomcat n ANT
Running a web application in TOMCAT using ANT
· Download Tomcat
· Download Ant
· Download JDK
· Set the JAVA_HOME and ANT_HOME
· Create a web project
Create a folder (project) which constitutes of src, web, web/WEB-INF
and doc directories
The src contains the java classes
The web contains the jsp files and htmls and images
The WEB-INF contains the classes directory which will have the
classes files of the java code and the web.xml file for the servlet
configuration.
The doc contains the document of the application
· Compiling(compilation of the java classes and putting them in the build folder), building(building the folders required for the deployment) and deploying (installing the application in the web server) using ANT
· ANT requires a build.xml in the root of the web project folder. If required, build.properties holding the necessary properties for the build.xml is placed in the same folder.
· The build.xml defines the web directory and the other folders where java files are placed. Then by using the javac command, the java files are compiled and placed in the build/
· For deployment, the build folder contents are copied into the webapps folder of the Tomcat Server or a WAR file is made for the project and the same is copied into the webapps folder of the server.Either way, when the server is started, the WAR file contents are extracted into the webapps folder and thereby, the server identifies the application.