Hibernate framework Architecture: It includes many objects such as ✔️ persistent object ✔️ session factory, ✔️ transaction factory, ✔️ connection factory, ✔️ session, ✔️ transaction etc.
The Hibernate architecture is categorized in four layers ✔️Java application layer ✔️Hibernate framework layer ✔️Backend API layer ✔️Database layer
✔️ Open Source and Lightweight ✔️ Fast Performance ✔️ Database Independent Query ✔️ Automatic Table Creation ✔️ Simplifies Complex Join ✔️ Provides Query Statistics and Database Status
Disadvantages ✔️ It can’t be learnt easily. ✔️ The debugging due to xml files and performance tuning becomes difficult at times. ✔️ Hibernate is a bit slower than pure JDBC as it is generating lots of SQL ✔️ statements in runtime. ✔️ It advisable to use pure JDBC for batch processing.
✔️ Developers use JDBC for communicating with the DB and the java app. ✔️ JDBC programming needs to create SQL statement, execute the statement and then process the results, Also the runtime exceptions are needed to be handled. ✔️ To effectively solve above issue, ORM tool was developed. ✔️ The ORM tool generates the SQL statements, executes the SQL statement and finally processes the result. ✔️ It also handles the exceptions occurred in the program.
Features of Hibernate ✔️ Object/Relational Mapping ✔️ JPA Provider ✔️ Idiomatic (Natural) persistence ✔️ High Performance ✔️ Scalability ✔️ Reliable ✔️ Extensibility
➡️ Hibernate is the ORM tool to transfer the data between a java (object) app and a database (Relational) in the form of the objects.
➡️ It is an open source, light weight tool given by Gavin King. ➡️ It is a non-invasive (don’t force) framework, it doesn’t force the developers to extend/implement any class/interface, there are only POJO classes so its light weight. ➡️ It can run with-in or with-out server, it will suitable for all types of java apps (desktop or servers) ➡️ It is purely for persistence (to store/retrieve data from DB).
✔️ ઑપરેટિંગ સિસ્ટમ (OS) કમ્પ્યુટર હાર્ડવેર સાધનો વ્યવસ્થા અને કોમ્પ્યુટર પ્રોગ્રામ માટે સામાન્ય સેવાઓ પૂરી પાડે છે કે જે સોફ્ટવેર એક સંગ્રહ છે.
✔️ ઉબુન્ટુ (અંગ્રેજી Ubuntu) એ કોમ્પ્યુટરની એક (free) મફ્ત ઓપરેટિંગ સિસ્ટમ છે.
✔️ ઉબુન્ટુ ડેબિયન (Debian) આધારીત લિનક્ષ (Linux) જેવી ઓપરેટિંગ સિસ્ટમ છે.
✔️ તેનું નામ દક્ષીણી આફ્રિકી ભાષાનો શબ્દ ઊબુન્ટુ (અન્ય તરફની માનવતા) ની પાછળ રાખવામાં આવ્યું છે.
✔️ ઉબુન્ટુ મુખ્યત્વે વ્યક્તિગત કોમ્પ્યુટરો પર વાપરવા માટે રચાયેલ છે, જોકે તેની સર્વર આવૃત્તિ પણ અસ્તિત્વમાં છે.
✔️ ૨૦૧૨ માં થયેલ સર્વે અનુસાર ઉબુન્ટુ એ સૌથી લોકપ્રિય ડેસ્કટોપ/લેપટોપ માં વપરાતી લીનક્સ ઓપરેટીંગ સીસ્ટમ છે. જે સર્વર અને કલાઉડ કોમ્પુટીંગ માં પણ લોકપ્રિય છે.
✔️ ઉબુન્ટુ એ દક્ષિણ આફ્રિકન ઉદ્યોગસાહસિક માર્ક શટ્ટલવર્થની યુ.કે.-સ્થિત કંપની કેનોનિકલ લિ. દ્વારા પ્રાયોજિત કરવામાં આવે છે.
✔️ કેનોનિકલ ઉબુન્ટુ સંબંધિત ટેક્નીકલ સેવાઓના વેચાણ દ્વારા આવક પેદા કરે છે, જ્યારે ઓપરેટિંગ સિસ્ટમ પોતે જ સંપૂર્ણપણે મફ્ત છે.
✔️ ઉબુન્ટુ પ્રોજેક્ટ મુક્ત સોફ્ટવેર વિકાસ સિદ્ધાંતો માટે પ્રતિબદ્ધ છે.
✔️ એ GNU જનરલ પબ્લીક લાયસન્સ (GNU GPL અથવા જીપીએલ) અંતિમ વપરાશકર્તાઓ લોકો, સંસ્થાઓ, કંપનીઓ નો ઉપયોગ કરવા સ્વતંત્રતાઓ, અભ્યાસ, શેર (નકલ) બાંયધરી આપે છે,
✔️ સોફ્ટવેર સુધારવા જે સૌથી વધુ ઉપયોગમાં લેવાતી મુક્ત સોફ્ટવેર લાયસન્સ છે.
✔️ એ GNU જનરલ પબ્લીક લાયસન્સ (GNU GPL અથવા જીપીએલ) અંતિમ વપરાશકર્તાઓ લોકો, સંસ્થાઓ, કંપનીઓ નો ઉપયોગ કરવા સ્વતંત્રતાઓ, અભ્યાસ, શેર (નકલ) બાંયધરી આપે છે,
✔️ સોફ્ટવેર સુધારવા જે સૌથી વધુ ઉપયોગમાં લેવાતી મુક્ત સોફ્ટવેર લાયસન્સ છે.
✔️ Berkeley Software Distribution (BSD) લાઇસન્સ સોફ્ટવેર પુનર્વિતરણ, ઉદાર મુક્ત સોફ્ટવેર લાયસન્સ એક કુટુંબ છે.
✔️ બર્કલે સોફ્ટવેર વિતરણ (BSD), એક યુનિક્સ જેવી ઓપરેટીંગ સિસ્ટમ માટે ઉપયોગ કરવામાં આવ્યો હતો.
➡️ Session Bean : Session bean represents a single client inside the App Server. ➡️ Entity Bean : Entity bean represents a business object in a persistent storage mechanism. ➡️ Message Driven Bean : A message-driven bean is an enterprise bean that allows J2EE applications to process messages asynchronously.
➡️ To Simplify development of large scale enterprise level app. ➡️ To focus only on business logic of the app. ➡️ When the app is distributed : When the resources and data are distributed across multiple sites, Choose EJB when application will need to support multiple, concurrent users. ➡️ When the app is performance-centric : use of EJBs and the application server provide high performance and very good scalability. ➡️ Manage transactions : When transaction management is required to ensure data integrity, EJBs may be used. ➡️ Manage security : Separation of Business Logic
➡️ A reusable component ➡️ A Java object ➡️ An encapsulation of enterprise business logic and data ➡️ Executed in a Containers
What is EJB? ➡️ EJB is an architecture for setting up program components, that run in the server, to develop modular construction of enterprise app. ➡️ It is reusable in multiple apps. ➡️ It is built on the JavaBeans technology to distribute components. It encapsulates the business logic of a web app. ➡️ It provides an architecture to develop and deploy component based enterprise apps.
Summary of video: ➡️ Java Bean Vs Enterprise Java Bean ➡️ Difference between RMI and EJB ➡️ EJB Architecture ➡️ Benefits of EJB ➡️ Restriction on EJB ➡️ Disadvantages of Enterprise Java Beans
If you fail to take actions like Failure of individual data from Computer, Misuse of Identity, Stalk (hunt) or harass an individual, group, or organization using Internet etc.,
CYBER-SAFETY ACTIONS
Install OS/Software Updates
Run Anti-virus Software
Prevent Identity Theft
Turn on Personal Firewalls
Avoid Spyware/Adware
Protect Passwords
Back up Important Files
Cyber Safety Tips 👇
✅ હંમેશા લેટેસ્ટ સોફ્ટવેર ઉપડૅટ ઇન્સટોલ કરવા ✅ એન્ટી વાયરસ સોફ્ટવેર નો ઉપયોગ કરવો ✅ ફાયરવોલ સોફ્ટવેર નો ઉપયોગ કરવો ✅ કોઈ સોફ્ટવેર કે જેમ વારંવાર એડ આવતી હોય તો તેનો ઉપયોગ ન કરવો
❌ તમારા આઈ.ડી. અને પાસવૉર્ડ કોઈ સાથે શેર ન કરવા ❌ હંમેશા એવો પાસવૉર્ડ સેટ કરવો કે જેનો કોઈ અનુમાન ન કરી શકે. ❌ વેબસાઇટ અને મોબાઇલ એપ માંથી જરૂરી ન હોય ત્યારે લોગ આઉટ થઇ જવું.