Yes, Deadly combination!! It doesn't means that there would some super stars of the film who would go the devil place and finish him. No No !!
I am talking about the deadly combination used in the development of the web sites. I am talking about the tools used for the Java development. Any guesses so far....
Yes, they are Struts2, Spring, and Hibernate
I am currently working all these tools. I am amazed to see the power of all the three technologies and how they makes the life of a developer like me, so easy.
All of three would make your project a huge success.
Now talking about Struts2... It is great framework with the inbuilt Ajax tags that would help many developers. Many new features of the struts2 are marvelous.
Hibernate... I already told in my last post about this. Hibernate would provide you a greater facility for your data persistence. its in built architecture that is fully object oriented which makes it a powerful tool. And yes, not to forget about the HQL (Hibernate Query Language).
Spring... Again a master piece framework which lets you to do handle hibernate and specially the IOC (Inversion of Control) that lets programmers to walk to the higher level. Spring have many in built functionalities that help in various ways. One of them is scheduling of tasks. Before this you have to do manually write lots of code but now with a fewer code you can achieve greater flexibility.
So enjoy working with the deadly combination
Yesterday I was working on something that requires manipulation of image for getting its properties. After searching over the internet I found a very intersting class on Java i.e ImageIO and BufferedImage class. These classes are good enough to manipulate images. there are many other claases also. But what I need i got it from these. I found many developers searching over internet for getting properties of image and there is no good small example for that. Thats why I thought why not creating a simple code to manipulate the image and help the developers. Here is the small code that helps to get the height and width of the image. Enjoy it!! import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; public class GetImage { public static void main(String[] args) { try { File f = new File("E:/Vinod/Docs/Pics/krishna_01.jpg"); BufferedImage image = ImageIO.read(f); int height = image.getHeight(); in
Comments
Post a Comment