Cloud computing with Google App Engine and Amazon EC2
Courtesy NEJUG and Oracle, on 9th Sep Rohit Bhardwaj is presenting on Cloud computing deep dive for Google App Engine and Amazon EC2 at Oracle technology Center, Burlington , MA
Presentation Overview:
In this session users will take a deep dive at few cloud computing examples and participants will be able to know how to use cloud computing for Google App Engine and Amazon EC2.
The Google App Engine is a platform for developing and hosting web applications in Google-managed data centers. The Google App Engine is an example of cloud computing technology as it virtualizes applications across multiple servers and data centers. It is, at its heart, a powerful cloud computing platform designed to help you more easily create and manage scalable, JVM-based web applications. If you’re developing a Java application on App Engine you probably already know that you can use JPA and JDO Java persistence APIs to interact with the data store. Now learn how to take full advantage of these powerful APIs. We will explore few examples from Amazon EC2 like how to deploy groovy on grails application. We will also look at development tools to make your life easier while working with Amazon EC2, Amazon S3 and Simple db.
Free online tools to create charts and infographics
Old : A picture is worth a thousand words
New : A picture is worth a thousand backlinks !!
Well to convey your story, try to use graphs , pictures or infographics. Is this concept new ?
Nope.
Illustrations have been always been very powerful. But slowly with users creating cool info graphics, they have been catching more attention than plain text. For eg Look at the you tube flow chart below
Isn’t it cool ?
A useful link to create charts and infographics online. Some of them are free and others are paid.
http://www.1stwebdesigner.com/resources/free-online-tools-create-diagrams/
The link below is list of sites which are only into info graphics.
Omni graffe
http://www.omnigroup.com/products/omnigraffle/
Vector Designer
http://www.tweakersoft.com/vectordesigner/index.html
Free Mind mapping software
http://freemind.sourceforge.net/wiki/index.php/Main_Page
I tried http://www.onlinecharttool.com till now. Will update this post once I try out some more.
Button not disabled in Firefox and Chrome
When you try to disable any button in your web application using this javascript function
document.getElementById(‘buttonId’).disabled=true;
You may find that it will work in IE but on Firefox and Chrome.
Reason:
From W3Scholl,
“Enabled” Property isn’t standard property of XHTML 4(It’s Microsoft standard.).
So the solution would be to add this piece of code
var obj = document.getElementById(‘buttonId”);
getLabel = function(elem){
if (elem.id && elem.id==”label”) {
elem.id = “disabledLabel”;
}
};
Dom.getElementsBy(getLabel ,’td’, obj);
Sun Certified JSP and Servlet Developer for the Java EE6 Platform – CX-311-085
Oracle/Sun has added a new certification Sun Certified JSP and Servlet Developer for the Java EE6 Platform.
It is a beta exam which costs $50 and has 215 questions (oh my god!)
The exam topics are
- The Servlet Technology Model
- The Structure and Deployment of Web Applications
- The Web Container Model
- Session Management
- Web Application Security
- The JavaServer Pages (JSP) Technology Model
- Building JSP Pages Using the Expression Language (EL)
- Building JSP Pages Using Standard Actions
- Building JSP Pages Using Tag Libraries
- Building a Custom Tag Library
- Java EE Patterns
You would find some helpful tests at Skill-guru to clear this certification. These tests are
Sun Certification Now Integrated With Oracle Certification Program
From September 1, 2010, All Java, Oracle Solaris, MySQL,Oracle Solaris Cluster and Open Office Certifications will be re-published under the Oracle Certification program with new Oracle Certification titles
- The exam format and objectives for each of the exams will be the same as they were previously under Sun so there is no impact to those preparing to get certified.
- If you are currently holding a certification exam voucher for one of these exams, they will be valid through their expiration date and can be redeemed at Prometric.
- If you currently hold an existing Sun certification, your current Sun certification title will still be recognized under the Oracle certification program and will continue to be valid. You can upgrade your certification at any time to the latest technology release to receive an Oracle certification title.
- If you are in the process of preparing for a certification exam that you will take after September 1, 2010, you will receive an Oracle certification title and will have use of Oracle Certification Program Logo for endorsement of your proven skill by Oracle Corporation.
- Candidates taking exams between September 1-3 may see either Sun and/or Oracle-branded exam titles while registering and taking exams during this transition period.
More details can be found here
Comparing SVN and CVS
When starting with a new project , first question which would come to your mind is which VCS to chose. Given a lot of options in market like CVS, SVN , Mercurial and Microsoft VSS , you have to look at you requirements.
If you are looking for something popular , easy to use , low cost and working with distributed teams, you should go either with CVS or SVN.
Here is quick comparison of various VCS used . This is a result of survey done in 2008 by finalbuilder.
Looking at the results, you would surely go with SVN but one should look at why SVN is getting more popular and is taking over CVS. SVN was created to fix some problems in CVS. Read more…
When to use saveOrUpdate in hibernate
In our earlier post we had covered what exactly saveorUpdate in hibernate does.
Developers that are new to Hibernate constantly calling the saveOrUpdate method whenever a set of changes have been made to a POJO. This isn’t necessary. You only have to associate an instance with the Hibernate Session once within the scope of a transaction. From that point on, you can do whatever you want to your JavaBean instances. Hibernate will persist the final state of your instance when the current transaction is finally committed.
The following piece of code needlessly calls the saveOrUpdate method after instance variables have been updated. This is totally unnecessary, as the User instance was already associated with the Hibernate Session through the original call to saveOrUpdate. Read more…
How do you compare static and Dynamic Queue in EMS
Configuration information for static queues and topics is stored in configuration files for the TIBCO Enterprise Message Service server. Changes to the configuration information can be made in a variety of ways. To manage static destinations, you can edit the configuration files using a text editor, you can use the administration tool, or you can use the administration APIs. Static queues and topics are administered by the server. Clients retrieve the destination using JNDI.
Dynamic queues and topics are created on-the-fly by applications using QueueSession.createQueue() and TopicSession.createTopic(). Dynamic queues and topics do not appear in the configuration files, and exist as long as there are messages or consumers on the destination. A client cannot use JNDI to lookup dynamic queues and topics.



