What are the Pros and Cons of Server Side Versus Client Side Templating

Server Side Templating Pros: More search engine friendly. Entire response message can be cached. Can work without JavaScript Cons: Harder to mix and match different server side technologies. For example, retrieve data from both Java and Ruby based services Harder to send content for multiple devices. E.g. browser, mobile devices, etc. Client Side Templating Pros: … Read more

What do you Understand by Client Side and Server Side Templating

The modern Rich Internet Applications (RIA) use the design concept of “single page web design”, where a single rich page makes ajax based service calls to render different sections of a page instead of the traditional approach of loading a new page of each user action.The “single page web design” can make use of  client side and server side technologies as … Read more

Describe DML queriesofHibernate Query Examples (HQL)

Hibernate created a new language named Hibernate Query Language (HQL), the syntax is quite similar to database SQL language. The main difference between is HQL uses class name instead of table name, and property names instead of column name. HQL is extremely simple to learn and use, and the code is always self-explanatory. HQL Select Query … Read more

What are the Core Interfaces are of Hibernate Framework

The core interfaces are used in just about every Hibernate application. Using these interfaces, you can store and retrieve persistent objects and control transactions. Session interface SessionFactory interface Transaction interface Query and Criteria interfaces Hibernate is a popular object-relational mapping (ORM) framework for Java, and it provides several core interfaces that play key roles in … Read more

What are the Important Tags of hibernate.cfg.xml

An Action Class is an adapter between the contents of an incoming HTTP rest and the corresponding business logic that should be executed to process this rest. In Hibernate, the hibernate.cfg.xml file is a configuration file that is used to configure various settings for Hibernate, such as database connection details, dialect, and other properties. The … Read more