Knowledge in Computer Architecture

Synchronization Notes

Why synchronize? • Critical sections and consensus • Mutual exclusion algorithms • Hardware support • Semaphores • Classical problems • Monitors and condition variables • POSIX synchronization interface

C Programming-Introduction to c and computer

In this ppt there are programs and detailed concepts related to c programming and examples regarding introduction.You can know how to use and use of c programming in a program.

Hibernate - Architecture

Hibernate - Architecture Hibernate has a layered architecture which helps the user to operate without having to know the underlying APIs. Hibernate makes use of the database and configuration data to provide persistence services (and persistent objects) to the application.Following is a very high-level view of the Hibernate Application Architecture.Following is a detailed view of the Hibernate Application Architecture with its important core classes.Hibernate uses various existing Java APIs, like JDBC, Java Transaction API(JTA), and Java Naming and Directory Interface (JNDI). JDBC provides a rudimentary level of abstraction of functionality common to relational databases, allowing almost any database with a JDBC driver to be supported by Hibernate. JNDI and JTA allow Hibernate to be integrated with J2EE application servers.Following section gives brief description of each of the class objects involved in Hibernate Application Architecture.Configuration ObjectThe Configuration object is the first Hibernate object you create in any Hibernate application. It is usually created only once during application initialization. It represents a configuration or properties file required by the Hibernate.The Configuration object provides two keys components −1)Database Connection − This is handled through one or more configuration files supported by Hibernate. These files are hibernate.properties and hibernate.cfg.xml.2)Class Mapping Setup − This component creates the connection between the Java classes and database tables.SessionFactory ObjectConfiguration object is used to create a SessionFactory object which in turn configures Hibernate for the application using the supplied configuration file and allows for a Session object to be instantiated. The SessionFactory is a thread safe object and used by all the threads of an application.The SessionFactory is a heavyweight object; it is usually created during application start up and kept for later use. You would need one SessionFactory object per database using a separate configuration file. So, if you are using multiple databases, then you would have to create multiple SessionFactory objects.Session ObjectA Session is used to get a physical connection with a database. The Session object is lightweight and designed to be instantiated each time an interaction is needed with the database. Persistent objects are saved and retrieved through a Session object.The session objects should not be kept open for a long time because they are not usually thread safe and they should be created and destroyed them as needed.Transaction ObjectA Transaction represents a unit of work with the database and most of the RDBMS supports transaction functionality. Transactions in Hibernate are handled by an underlying transaction manager and transaction (from JDBC or JTA).This is an optional object and Hibernate applications may choose not to use this interface, instead managing transactions in their own application code.Query ObjectQuery objects use SQL or Hibernate Query Language (HQL) string to retrieve data from the database and create objects. A Query instance is used to bind query parameters, limit the number of results returned by the query, and finally to execute the query.Criteria ObjectCriteria objects are used to create and execute object oriented criteria queries to retrieve objects.

Architectural design - b.arch sem 2

This is problem question for semester 2 of Indira Gandhi Delhi technical University for women. This is of subjectarchitectural design 2

Surveying- architecture sem 3

This document is based on the topic surveying of post earthquake recovery of Nepal just to know about the place well so that better construction techniques can be used.

Wood and stone masonry- sem 2

Notes on the topic wood and stone masonry along with that types are given also these are printed and detailed information.

Great Pyramid - history of architecture

Precise data on great Pyramid of Egypt. Printed and accurate data.

Journal on art and culture

Document depicting about art and culture with design.

Hindu temple architecture - B.arch

Hindu temple architecture is about the planning methods of temple, astheticity and importance.

Computer organization and design

In this ppt there is programs and detailed concepts related to computer organization and design.You will be able to learn the uses and how to use computer organization and designs.

Topography and sound propagation historical contexts-b.arch

Accurate and appropriate data,printed study material. Topography and sound propagation historical contexts.

Sound pressure and intensity levels

Appropriate and accurate data,printed study material. Sound pressure and intensity levels.