140 likes | 271 Vues
Borland Janeva .NET Interoperability with J2EE and CORBA Svetlin Nakov Software Development Consultant Sofia University “St. Kliment Ohridski” www.nakov.com. ANATOMY. PRESENTATION. BUSINESS RULES. DATA. TECHNOLOGY. .NET. J2EE. CORBA. PROTOCOL. SOAP. RMI. IIOP. EJB. EJB. EJB. EJB.
E N D
Borland Janeva.NET Interoperability with J2EE and CORBASvetlin NakovSoftware Development Consultant Sofia University “St. Kliment Ohridski” www.nakov.com
ANATOMY PRESENTATION BUSINESS RULES DATA TECHNOLOGY .NET J2EE CORBA PROTOCOL SOAP RMI IIOP EJB EJB EJB EJB EJB EJB EJB The Need to Integrate the Technologies • CORBA in the Presentation layer… • Don’t Pass Firewalls, Too Complex and High Maintenance • but…Code is closer to the native platform (better performance) • J2EE in the Presentation and Data layers… • Resource Intensive, Too Complex and High Maintenance • but…Portability and Scalability across multiple platforms! • .NET in the Business Rules and Data layers… • No Security, No Persistence, No EJB Analogue • but…Rich Front-End and Easier development environment!
InterBase BESAppServer WebLogic WebSphere BES VisiBroker .NET Server Oracle ASP.NET ASP.NET ASP.NET How to get this .NET side to talk Sybase EJB EJB EJB EJB EJB EJB EJB EJB EJB to this J2EE and CORBA side? MS-SQL Server The Chasm .NET Thin Clients ? J2EE and CORBA Middleware .NET Thick Clients
InterBase WebLogic WebSphere BESAppServer BES VisiBroker .NET Server Web Server Oracle ASP.NET ASP.NET ASP.NET Web Service Web Service Web Service Web Service “Bridge” Web Service Web Service Web Service Web Service Web Service Sybase Web Service Web Service Web Service EJB EJB EJB EJB EJB EJB EJB EJB EJB MS-SQL Server Web Services as a Solution .NET Thin Clients • Additional infrastructures needed • Interoperability is not seamless • Security, Transactions, and Quality- of-Services may not be supported • Poor Performance J2EE and CORBA Middleware .NET Thick Clients
InterBase WebSphere WebLogic BESAppServer BES VisiBroker .NET Server Oracle ASP.NET ASP.NET ASP.NET “Bridge” Sybase EJB EJB EJB EJB EJB EJB EJB EJB EJB MS-SQL Server Bridging as a Solution .NET Thin Clients • Additional infrastructures needed • Changes may be required to middleware • Security, Transactions, and Quality- of-Services may not be supported • Poor Performance J2EE and CORBA Middleware .NET Thick Clients
InterBase BESAppServer WebSphere WebLogic BES VisiBroker .NET Server Oracle ASP.NET ASP.NET ASP.NET Janeva Janeva Janeva Janeva Sybase EJB EJB EJB EJB EJB EJB EJB EJB EJB MS-SQL Server The Janeva Solution .NET Thin Clients Janeva Janeva Janeva • No additional infrastructures needed • No changes required to back end • Seamless interoperability • J2EE and CORBA infrastructures are • leveraged, including Qualities-of- Service features • High Performance J2EE and CORBA Middleware .NET Thick Clients
.NET over IIOP Janeva Solution • Janeva is VisiBroker for .NET • Borland’s implementation of CORBA infrastructure for .NET • Adhering to (mature) standards on both the client and server • .NET, J2EE, and CORBA • Seamless interoperability between.NET and J2EE & CORBA platforms • Access to fully IIOP compliant J2EE servers • Access to fully IIOP compliant CORBA ORB's • Highly performing • Leveraging efficiencies of IIOP vs. SOAP • Enterprise Quality of Service (IIOP based) • Load Balancing, Fault Tolerance, Transactions, Scalability
.NET over IIOP Janeva Solution • Transactions • Provide 2-Phase commits across applications • Security • Encryption, Authentication, and Authorization • Stateful Services • Object References • Distributed Object Model • Support for Complex Data Types • Automated mapping between J2EE and CORBA • Cross Language Support • Microsoft Common Language Runtime (CLR) • C#, J#, Visual Basic .NET, Visual C++ .NET • Any CLR supported language
JAVA Janeva compiler .NET C# compiler .jar .NET DLL assembly .ear C# code .class CORBA .idl .NET over IIOP How Janeva Works • Janeva compilers generate .NET stubs for mapping J2EE and CORBA types to .NET types • The .NET C# compiler compiles the generated stubs and include them in the compiled assembly • Janeva runtime is embedded directly into the deployed application
.NET over IIOP Janeva Environment C# Basic • C++ C# Basic JScript EJB1 EJB2 Obj1 Obj2 • J2EE based compiler • .Net Remoting stubs from Java RMI interfaces • CORBA based compiler • .Net Remoting stubs from IDL • .NET Assemblies • Packaged from generated stubs • Stubs target Microsoft’s Common Type System (CTS) Janeva Stubs Janeva Stubs J2EE Server CORBA .NET Runtime ASP.NET Runtime Janeva Runtime Janeva Runtime RMI-IIOP IDL-IIOP IIOP
.NET over IIOP Janeva Environment J2EE Server Environment • Hiding the Complexities • Ease-of-Use Abstraction (OO wrappers) • Map J2EE and CORBA frameworks to .Net • Tight integration with .NET based IDE’s such as Visual Studio for .NET and C# Builder Naming Service C# Client Transaction Service Ease-of-Use Layer Assembly Raw Stub Layer EJB Container .NET Runtime Home Objects IIOP Janeva Runtime Remote Objects
BES J2EE WebLogic WebSphere .NET DLL Others VisiBroker CORBA Janeva Run Time Others Windows IIOP Unix Platforms Linux Mainframes Java Languages C++ Others Janeva Connectivity Choices
Accessing J2EE from .NETwith Borland JanevaDemoSvetlin NakovSoftware Development Consultant Sofia University “St. Kliment Ohridski” www.nakov.com