Using Third-Party Frameworks in Building Blocks™ David Ashman Principal Architect, Product Development.

Slides:



Advertisements
Similar presentations
V 6, Mats Strandberg ORM With Hibernate.
Advertisements

Introduction to the Spring Framework
Spring, Hibernate and Web Services 13 th September 2014.
.NET Database Technologies: Open-Source Frameworks.
Introduction to the Spring Framework University of Kansas January 2009 This presentation and example application are available at
Integrating SOA and the Application Development Framework Shaun O’Brien Principal Product Manager – Oracle JDeveloper / ADF.
Next Generation Node (NGN) Technical Overview April 2007.
Hibernate 1. Introduction ORM goal: Take advantage of the things SQL databases do well, without leaving the Java language of objects and classes. ORM.
© 2005, Cornell University. Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
Session-01. Hibernate Framework ? Why we use Hibernate ?
Address - #22, 1 st Floor, Station View Road, Kodambakkam, Chennai JTech Soft Solutions Website:
Platform as a Service (PaaS)
Google AppEngine. Google App Engine enables you to build and host web apps on the same systems that power Google applications. App Engine offers fast.
The Spring Framework: A brief introduction to Inversion of Control James Brundege
Intro to Spring CJUG - January What is Spring? “The Spring framework provides central transaction control of various objects.” This means that any.
An Introduction to Hibernate Matt Secoske
The Spring Framework A quick overview. The Spring Framework 1. Spring principles: IoC 2. Spring principles: AOP 3. A handful of services 4. A MVC framework.
Hibernatification! Roadmap for Migrating from Plain Old SQL on JDBC to JPA on Hibernate Duke Banerjee Senior Developer, DrillingInfo.com.
2007 JavaOne SM Conference | Session BOF-4181 | BOF-4181 Migrating a Spring/Hibernate Application to Java Platform, Enterprise Edition (Java EE) 5 Adrian.
NetArchive Suite Workshop 2011 Technical Track - Code refactoring with the Spring Framework.
Entity Framework Code First End to End
Introduction to the Spring Framework By: Nigusse A. Duguma Kansas State university Department of Computer Science Nov 20, 2007.
Spring Overview, Application demo -Midhila Paineni 09/23/2011 Spring Overview, Application demo9/8/20151.
UPortal Developers MIT August 2004 Persistence Strategy for uPortal 3 Mike DeSimone the r-smart group
Agenda What is Hibernate Spring Integration Questions Overview
The Spring Framework Training Get to know Spring Framework Rohit Prabhakar
CHAPTER 14 USING RELATIONAL DATABASES TO PROVIDE OBJECT PERSISTENCE (ONLINE) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database.
Opus College - overview. OpusCollege - background First project: ICT Capacity Building Mozambican Higher Education Institutions Partners: RUG Groningen,
Spring Framework. Spring Overview Spring is an open source layered Java/J2EE application framework Created by Rod Johnson Based on book “Expert one-on-one.
Ahmed M. Gamal, J2EE Mohamed Maaty, Information hp INTRODUCING JBPM.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 14 Using Relational Databases to Provide Object Persistence (Overview) Modern Database.
Spring Database Access Ojitha Kumanayaka Copyright © Virtusa, 2007.
JBoss at Work Databases and JBoss Chapter 4 Jeff Schmitt October 26, 2006.
Ganymede Simultaneous Release | © 2008 by Springsite B.V., The Netherlands made available under the EPL v1.0 Teneo Ganymede Simultaneous Release.
Spring Framework. About spring Spring is the most popular application development framework for enterprise Java. Millions of developers around the world.
Fall CIS 764 Database Systems Engineering L18.2 : Object Relational Mapping … ….Object persistence.
{ Online Dating Popa Adrian Prejbeanu Samir Stefan Andrei Urziceanu Stefanita.
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions Buenos Aires, June 2009.
Spring and DWR Frameworks for Rich Web Enterprise Application Thomas Wiradikusuma Presentation to the 20 th.
UPortal 3 RC2 PreviewJA-SIG Conference, Summer 2007 uPortal RC2 Preview Moving on Up Reviewing current work and future plans Standardizing the framework.
JAVA EE 6 Best Practices for Migrating Spring to WTF ?!?
Persistence – Iteration 4 Vancouver Bootcamp Aaron Zeckoski
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Introduction to Data Access with Spring.
ESG-CET Meeting, Boulder, CO, April 2008 Gateway Implementation 4/30/2008.
Kansas City Java User’s Group Jason W. Bedell July 12, 2006
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Overview of the Spring Framework Introducing.
Fundamentals of MyBATIS
Performance, Profiling, & Optimization Tools for Enterprise Java Applications S. Ray Holder Michael J. Donahoo.
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
Introduction to ORM Hibernate Hibernate vs JDBC. May 12, 2011 INTRODUCTION TO ORM ORM is a programming technique for converting data between relational.
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions and Spring MVC Buenos Aires, June 2009.
Google Code Libraries Dima Ionut Daniel. Contents What is Google Code? LDAPBeans Object-ldap-mapping Ldap-ODM Bug4j jOOR Rapa jongo Conclusion Bibliography.
Hibernate Online Training. Introduction to Hibernate Hibernate is a high-performance Object-Relational persistence and query service which takes care.
Fall CIS 764 Database Systems Engineering L11: Object Relational Mapping … (a) ORM, Object persistence (b) Pets sequence.
HIBERNATE/Java Overview of technology for Hibernate by محمد حسن کاظمی پوران Master : M.M.Nematollahi.
The Holmes Platform and Applications
J2EE Platform Overview (Application Architecture)
Platform as a Service (PaaS)
J2EE Lecture 6: Spring – IoC and Dependency Injection
Platform as a Service (PaaS)
A very brief introduction
Intro to Spring CJUG - January 2013.
Lecture 1: Multi-tier Architecture Overview
Testing a persistence layer
Developing and testing enterprise Java applications
Teneo Ganymede Mini Deck
Chengyu Sun California State University, Los Angeles
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Presentation transcript:

Using Third-Party Frameworks in Building Blocks™ David Ashman Principal Architect, Product Development

Disclaimer USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ I may make statements about our future offerings or functionality. While it is our best intentions that these things will be made available, we cannot provide any assurances that they will be available until they are made available. If there are further questions, please speak with our general counsel.

Who is this for? USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Intermediate to advanced Blackboard Building Block™ developers.  Understands how to create a simple JSP-based Blackboard Building Block™.  Familiar with a variety of APIs available in Blackboard Learn™. Not covering  Basic Blackboard Building Block™ APIs

Presentation Format USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Focus on code  Live demos  Examples  Code samples available after DevCon.

Overview USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Using Spring in your Blackboard Building Block™ Using Hibernate in your Blackboard Building Block™

“Spring is a layered Java/J2EE application platform, based on code published in Expert One-on-One J2EE Design and Development by Rod Johnson” —SpringSource ( USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ What is Spring?

USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Program to interfaces, not classes. OO design trumps implementation technologies, such as J2EE. Testability is essential. “KISS” principal Doesn’t replace good technologies (Hibernate, JDO, etc), just fosters integration.

Spring in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Integrating Spring  Annotations vs XML configuration  Required Libraries  spring.jar  spring-webmvc.jar  Bootstrapping Spring

Spring in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Demo

Spring in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Inversion of Control  Hollywood Principal - “Don’t call me, I’ll call you”.  Simplifies access to Blackboard Learn™ APIs.

Spring in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Spring MVC  POJOs as web endpoints  Simpler, more flexible API compared to Struts

Spring in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Demo

“Hibernate is concerned with helping your application to achieve persistence. So what is persistence? Persistence simply means that we would like our application’s data to outlive the application’s process.” —Jboss Community ( USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ What is Hibernate?

USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Natural Programming Model  Persistence using natural OOP idioms. Transparent Persistence  No interfaces or base classes, just annotations or XML configuration. High Performance  Lazy initialization, smart fetching and optimistic locking. Reliability and Scalability Extensibility Advanced Query Facilities  HQL, JPAQL (Java Persistence API Query Language) and SQL.

“But what about DB Loaders and Persisters?” USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ What is Hibernate?

Open Database Initiative USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ We’re publishing our schema!  The schema may change, but you’ll know about it and how it’s changed.  Use other technologies to reach our data for difference use cases. Be careful how you use the schema for updates – there is often business logic around the updates and bypassing Blackboard Learn™ code to update the database can have unexpected side effects.

Hibernate in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Hibernate uses a standard Java DataSource to access the Blackboard Learn™ schema  BbDatabaseDataSource This method will allow connections to participate in the same transactions as the rest of the Blackboard Learn™ system since they are from the same connection pool.

Hibernate in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Demo

Hibernate in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Custom schemas can now be created with Blackboard Building Blocks™  Embed schema.xml files  Framework will create the schema objects  Hibernate can handle the persistence for you.

Spring/Hibernate in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Let’s tie it all together  Spring IoC connects to the API.  Spring MVC creates your endpoint.  Hibernate accesses your data.

Spring/Hibernate in Building Blocks™ USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™ Demo

Questions? USING THIRD-PARTY FRAMEWORKS IN BUILDING BLOCKS™