GoF / J2EE Design Patterns

What is a Pattern? Patterns are a software engineering problem-solving discipline that emerged from the object-oriented community GoF Design Patterns The GoF described patterns as “a solution to a problem in a context.” These three elements—problem, solution, and context—are the essence of a pattern. GoF Creational Design Patterns Creational design patterns are concerned with the… Read More GoF / J2EE Design Patterns

Adobe Flex

·         Adobe Flex is an open source framework that runs in Adobe Flash Player to create RIAs. ·         It combines the functionality of desktop applications with the availability of web applications. ·         Flex, as a framework, extends the regular Flash application programming interface (API) to provide the benefits of Flash components integrated with Flex. ·        … Read More Adobe Flex

Spring & Hibernate Integration

● SessionFactory object is Dependency-Injected ● HibernateTemplate class is provided Setting up Hibernate SesssionFactory DataSource Setup Through DI product.hbm.xml hibernate.dialect=org.hibernate.dialect.HSQLDialect HibernateTemplate ● Helper class that simplifies Hibernate data access code ● Automatically converts HibernateExceptions into DataAccessExceptions, following the org.springframework.dao exception hierarchy ● The central method is execute, supporting Hibernate access code implementing the HibernateCallback interface.… Read More Spring & Hibernate Integration

Step By Step Guideline for Building & Running “HelloWorld” Hibernate Application

Steps for Starting the database and populating the tables Step 1: Start the database ● 3 Different options – At the command line – Through an IDE – As windows service (Not all databases support this) ● Derby within the IDE – From NetBeans, select Tools->Java DB Database- >Start Java DB Server ● HSQLDB at… Read More Step By Step Guideline for Building & Running “HelloWorld” Hibernate Application