Borland Janeva - Svetlin Nakov

Download Report

Transcript Borland Janeva - Svetlin Nakov

Borland Janeva
.NET Interoperability with J2EE and CORBA
Svetlin Nakov
Software Development Consultant
Sofia University “St. Kliment Ohridski”
www.nakov.com
The Need to Integrate the Technologies
EJB
EJB
EJB EJB
EJB
EJB
EJB

ANATOMY
PRESENTATION
BUSINESS RULES
DATA
TECHNOLOGY
.NET
J2EE
CORBA
PROTOCOL
SOAP
RMI
IIOP
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!
Slide 2
The Chasm
.NET Thin Clients
BES VisiBroker
InterBase
.NET Server
ASP.
NET
ASP.
NET
ASP.
NET

?
BES AppServer
EJB
How to get this

.NET side to talk
EJB
EJB
Oracle
WebLogic
EJB
EJB
EJB
Sybase
to this J2EE and

CORBA side?
.NET Thick
Clients
Slide 3
WebSphere
EJB
EJB
EJB
J2EE and CORBA
Middleware
MS-SQL
Server
Web Services as a Solution
.NET Thin Clients
BES VisiBroker
InterBase
Web Server
.NET Server
ASP.
NET
ASP.
NET
ASP.
NET
Web
Web
Web
Service Service Service
BES AppServer
Web
Web
Web
Service Service Service
“Bridge”
EJB
EJB
EJB
Oracle
Web
Web
Web
Service Service Service
Web
Web
Web
Service Service Service
WebLogic
EJB
EJB
EJB
Sybase
- Additional infrastructures needed
- Interoperability is not seamless
- Security, Transactions, and Qualityof-Services may not be supported
.NET Thick
Clients
Slide 4
- Poor Performance
WebSphere
EJB
EJB
EJB
J2EE and CORBA
Middleware
MS-SQL
Server
Bridging as a Solution
.NET Thin Clients
BES VisiBroker
InterBase
.NET Server
ASP.
NET
ASP.
NET
ASP.
NET
BES AppServer
“Bridge”
EJB
EJB
EJB
Oracle
WebLogic
EJB
EJB
EJB
- Additional infrastructures needed
- Changes may be required to
middleware
.NET Thick
Clients
Slide 5
- Security, Transactions, and Qualityof-Services may not be supported
- Poor Performance
Sybase
WebSphere
EJB
EJB
EJB
J2EE and CORBA
Middleware
MS-SQL
Server
The Janeva Solution
.NET Thin Clients
BES VisiBroker
InterBase
.NET Server
ASP.
NET
ASP.
NET
ASP.
NET
BES AppServer
Janeva Janeva Janeva
EJB
EJB
EJB
Janeva
Janeva
- No additional infrastructures needed
Oracle
WebLogic
EJB
EJB
EJB
- No changes required to back end
Sybase
Janeva
- Seamless interoperability
WebSphere
Janeva
.NET Thick
Clients
Slide 6
- J2EE and CORBA infrastructures are
leveraged, including Qualities-ofService features
- High Performance
EJB
EJB
EJB
J2EE and CORBA
Middleware
MS-SQL
Server
Janeva Solution
•
.NET over IIOP
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
Slide 7
Janeva Solution
•
•
•
•
•
Slide 8
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
.NET over IIOP
How Janeva Works
.NET over IIOP
JAVA
.jar
.NET C# compiler
Janeva compiler
.NET DLL
assembly
.ear
.class
CORBA
.idl
C#
code
• 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
Slide 9
Janeva Environment
C#
Basic
C++
Janeva Stubs
C#
Basic
JScript
EJB1
EJB2
Obj1
Obj2
Janeva Stubs
J2EE Server
.NET Runtime
ASP.NET Runtime
Janeva Runtime
Janeva Runtime
RMI-IIOP
• 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)
Slide 10
.NET over IIOP
CORBA
IDL-IIOP
Janeva Environment
.NET over IIOP
J2EE Server Environment
Naming Service
C# Client
Ease-of-Use Layer
Raw Stub Layer
•
Slide 11
Transaction Service
EJB Container
.NET Runtime
Home Objects
Janeva Runtime
Remote Objects
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
Janeva Connectivity Choices
BES
J2EE
.NET DLL
WebLogic
WebSphere
Others
VisiBroker
Janeva Run Time
CORBA
Others
Windows
IIOP
Unix
Platforms
Linux
Mainframes
Java
Languages
C++
Others
Slide 12
Accessing J2EE from .NET
with Borland Janeva
Demo
Svetlin Nakov
Software Development Consultant
Sofia University “St. Kliment Ohridski”
www.nakov.com
Borland Janeva
Questions?