Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds
Kaspersky Anti-Virus 2011
Sutha's Profile
Sutha is working as a Software Professional in Bangalore. She has more than 3 years of experience in Java/J2EE technologies. She has the passion to learn the latest technologies and thereby enhance her technical expertise. Her hobbies are reading technology books, cooking.
Sutha's Articles
Web frameworks supported by Spring
Most of the webapplications are implemented by Model-View-Controller(MVC) pattern. There are plenty of good frameworks use the MVC paradigm. Obviously, MVC becomes defacto standard for a webapplication because of it's maintainability and clear seperation of presentation layer and the business layer. Spring is one amoung the group, a lightweight container used in the enterprise development, also it provides a good implementation of MVC for its presentation layer. In realtime most of the applications and companies already made a huge investment on Struts and other popular frameworks. They want to stick with the old frameworks and also want to enjoy the features of Spring framework. Spring is more flexible than any other framework, spring provides abstract layer for every framework to integrated into the them. In this article, i will explain you the way how you can integrate few of the popular frameworks in web development, When you read the whole article, you will be more familiar with various integration methods on each framework and i will explain spring webflow which is a subproject in the Spring community. let's start with integrating Struts into Spring.
New Features in Servlets 2.5
This article presents new features introduced in the Servlet 2.5. Servlet 2.5 is bundled with Java EE 5.0 edition and it has lot of new features. This version has major changes since it has to support the Java 5.0 version for all the J2EE technologies. One of the notable changes will be supporting Generics and Annotations. Using annotations in Java EE environment has simplified the developement process by eliminzating the much need for XML deployment descriptors. EJB 3.0 is example for how it is simple compare to its previous versions. In the same way other technologies also have significent updates. One particular technology is Servlet and it is evloving very quickly. This Servlet 2.5 has few changes and the next version Servlet 3.0 has very exciting features like Web Fragments. The minimum requirement for the Servlet 2.5 is JDK 5.0 or above. Lets look into the Servlet 2.5 features in this article.
New Features in Java EE 6.0
This article presents what is new in the Java EE 6.0 edition. There is lot of new activities in the JCP expert groups to add more valuable features in Java EE 6.0 version. Roberto Chinnici and Bill Shannon are Spec Leads for the JSR 316. For the past two releases of Java EE versions, sun is focusing on making the environment more easier for the developers instead of adding more new technologies. For example, EJB 2.x is more difficult for the developers particularly the Entity Beans part in the EJB, then it has simplified the EJB 3.0 programming model in Java EE 5.0 by extensive use of annotations and introduced JPA 1.0 to reduce the complexitiy on persistance layer. The same approach continues in the Java EE 6.0 version also, they define it in the two topics namingly Extensibility and Profiles. Writing about all the changes in one article would become lengthy, so we will see some of the notable changes in this article like Profiles, Modularity and focus on Web tier.
What is Web Beans?
This article introduces new unified framework for the Java EE environment, called Web Beans.This article is written based on the specification available at the time of writing this article. The specification for this framework is still under the public review, so there may be few changes before the final release. You can read the JSR 299 here. Web Beans is open source framework currently in the Alpha release. Gaving King, who is also the founder of famous framework JBoss Seam is also the specification lead for the Web Beans. There is lot of welcome notes for this framework and it solves many issues which is not addressed by the Java EE specifications. It is expected to be shipped with Java EE 6.0 edition. Lets jump into the next sections to read more about the Web Beans.
Types of Managed Bean scopes in Spring Framework
This article presents the different scopes on Spring managed beans. This is one of the greatest advantage using spring's managed beans. Every bean definition can be declared with different scopes. If you are the beginner learning the Spring Framework first time, please read our introduction articles on the Spring Framework :
Sutha's Tips
ServletContextListener Example
This tips explains the how to use ServletContextListener. There will be only one ServletContext for each web application. ServletContext will be created while deploying the application. Once the ServletContext is created, it will be used by all the servlets and jsp files in the same application. ServletContext is also called as the application scope variables in the web application scenario.
Variable Directive in JSP 2.0 Custom Tags
This tips explains how to use the variable directive in the custom tags in JSP 2.0. There is time when JSP page needs to access the variable declared inside the Tag files. In the previous version we have to extend the tag library to declare the variables and need the special handling for those variables. In JSP 2.0, it is done very easily using the variable directive. Syntax for the variable directive is as follows:
Custom Tags in JSP 2.0
Developing custom tags in the previous JSP versions are tedious and it is considered as one of the complex task for the JSP developers. Because inorderto write a simple custom tag you have to learn many things and should have good knowledge on Java also. Apart from that you have to use Tag APIs to create a complete tag library. Any small mistake will cause the error and tag files will not work. To make the things easy for the JSP developers, JSP 2.0 has the advanced features for creating JSP custom tag libraries.
Volatile keyword in Java
If you are working with the multi-threaded programming, the volatile keyword will be more useful. When multiple threads using the same variable, each thread will have its own copy of the local cache for that variable. So, when it's updating the value, it is actually updated in the local cache not in the main variable memory. The other thread which is using the same variable doesn't know anything about the values changed by the another thread. To avoid this problem, if you declare a variable as volatile, then it will not be stored in the local cache. Whenever thread are updating the values, it is updated to the main memory. So, other threads can access the updated value.
What is transient keyword in Java?
If you want to understand what is transient, then first learn what is serilization concept in Java if you are not familiar with that. Serilization is the process of making the object's state persistent. That means the state of the object is converted into stream of bytes and stored in a file. In the same way we can use the de-serilization concept to bring back the object's state from bytes. This is one of the important concept in Java programming because this serilization is mostly used in the networking programming. The object's which are needs to be transmitted through network has to be converted as bytes, for that purpose ever class or interface must implements Serilization interface. It is a marker interface without any methods.
List of Authors
Christy
Raja
SriHari
AnupFrancis
DeepakKumarSharma
VidyaSagar
MarceloGiorgi
PacktPub
VaniShanmugam
JesinthaPriyadarshini
AmitSharma
PranavAggarwal
Shenbagaraj
Arjunan
NissiNath
TusharJoshi
Ramaswamy
Tata-McGrawHill
NileshPagar
JavaBeat
MunafSahaf
KannanRaghupathy

JavaBeat Website (2004-2009), India
javabeat | advertise | about us | useful resources
Copyright (2004 - 2009), JavaBeat