Download Title: Arial 28pt.

Document related concepts

Microsoft Jet Database Engine wikipedia , lookup

Database model wikipedia , lookup

Clusterpoint wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Object-relational impedance mismatch wikipedia , lookup

Transcript
Your Presenters
Steven Dunn – Sales and Marketing Manager, Europe
Dave Fish – Engineering Evangelist
John Strano – PowerBuilder Evangelist
PowerBuilder Market Focus and Road Map
15
Market Focus – Sybase Goals
•
•
•
•
Attract next generation application developers
Focus on .NET and Eclipse platforms to extend reach
Support Sybase servers – key to Sybase platform success
Provide key technology differentiators within an open 4GL
IDE
• Use DataWindow technology as cornerstone of Sybase
offerings
Market Focus – The PowerBuilder Products
• PowerBuilder
– 4GL development
– Provide key unique technology to differentiate ourselves on .NET platform
• PowerBuilder App Server Plug-in
– The newest member of the PowerBuilder family
– Deploy PowerBuilder code to J2EE application servers
• PocketBuilder
– PowerBuilder for mobile devices
– Build data-driven mobile applications in less than one hour
• DataWindow .NET
– A Visual Studio Plug-in, bringing 4GL productivity to Visual Studio .NET
DataWindows Everywhere…
– PowerBuilder for Client/Server, Web, Web Services and now
• .NET Deployment
– PowerBuilder VM Application Server Plug-In
• WebLogic, WebSphere, JBoss(, Oracle, Geronimo…)
– DataWindow .NET
– PocketBuilder
DataWindows greatly reduce the amount of code you need to write for
your application.
DataWindows provide an intuitive graphical user interface allowing
developers to be immediately productive.
Messaging
• We are committed to PowerBuilder
– PB 10.5 release delivers core functionality enhancements
– Major new features – DW presentation style, updated UI
• We are committed to fully supporting, embracing, and
exploiting .NET
– PB 11 deploys .NET apps to web, Smart Client support, WinForm
support
– Positions customers to leverage Vista & WPF functionality
– DataWindow .NET, PocketBuilder .NET
PowerBuilder Family Promotion:
Valid until 30th June 2007
Buy either 1 copy of PowerBuilder Enterprise or 2 update
licenses and you can also have one copy of:
• PocketBuilder
• Single CPU copy of the PowerBuilder Application Server PlugIn
• DataWindow .NET
For more details contact the PowerBuilder Sales Team or send
an email to: [email protected]
PowerBuilder Roadmap
Simplified development for today, tomorrow
2007
PowerBuilder 11.0
.NET Simplified
2007
PowerBuilder 11.1
Additional
Functionality
• Updated Informix support
• Vista support
deployed as .NET
• Smart Client for Win32
•NVOs deployed as
.NET assemblies and • Pipeline object
• EAS .NET support
Web Services
• Incremental rebuild for .NET
• Leverage and
• Callbacks (to reduce postbacks)
extend investment
• UI updates
• MSS SNC support
• Applications
Language
Independence
Application
Connectivity
2008
PowerBuilder 12
Powerful Data Access with
Sophisticated Presentation
• .NET in IDE, support for visual controls
• Visually exciting apps based on WPF
• WPF controls in design time, runtime
• Managed code
• Inherit from other assemblies
Multiple
Platform
Support
Power
And
Performance
PowerBuilder 11 Features
15
PowerBuilder 11 Release Defining Features
 IDE and User Interface Enhancements
 DataWindow enhancements
 Updated database connectivity
 .NET Deployment
–
–
–
–
.NET Web Forms applications in ASP .NET 2.0
.NET Windows Forms and Smart Client applications
.NET Web Services
.NET Assemblies
IDE/User Interface Enhancements
10
IDE Enhancements
• Autoscript Enhancements
•
Resizable Dialog Boxes
• Updated Menus and Toolbars
• System Tree Enhancements
• Project Painter Enhancements
• Output window tabs
• Breaking into debugger
IDE/User Interface Enhancements Demonstration
DataWindow Enhancements
10
DataWindow Enhancements
• Web Services supported as a data source
• Treeview DataWindow Enhancements
• Retain Retrieval Argument Values in the DataWindow
Painter
• Use Ellipses
Web Services Data Source for DataWindows
• This is intended to support database (RDBMS) data
delivered via Web Services
– Access to RDBMS data without needing the vendors client
software
• Not all Web Services are suitable for the DataWindow
– Complex return data such as nested structures
• Amazon.com returns some fairly complex return values
• The return value from the Web Service needs to look
like a result set
Define a Web Service Retrieval
DataWindow
Painter
A DataWindow
Object
Metadata
PowerBuilder
Web Service
support using
the .NET
engine
A generated
Assembly
WSDL
Run time Web Service Retrieval
 Retrieve works just like it does now, you can specify retrieval
arguments as parameters.
 wsconnection object (optional)
– Allows runtime overrides of
• Endpoint
• Userid and password
• Timeout
• Security and proxy overrides
• Port override
• And more….(continued)…
Run time Web Service Retrieval
Metadata
The
DataWindow
engine
PowerBuilder
Web Service
support using
the .NET engine
Generated
assembly and
the .NET
framework
Retrieval method call
Returned data
The Web
Service
New TreeView DataWindow Features
• TreeView Style DataWindow can now be used in a Web
DataWindow control
• Removed the height limit from the detail band
– Tree nodes can be hidden with a height of 0
• Moving rows in a TreeView will retain their collapsed/expanded
state
Retrieval Arguments Retained
• Retrieval arguments can be remembered in the DataWindow
object
Use Ellipses
DataWindow Enhancements Demonstration
Database Connectivity Enhancements
5
DataBase Connectivity Enhancements
• ASE 15
• New MS SQL Server Native Driver
• Oracle RAC support
• Enhanced MobilLink Support
ASE 15
• A new database interface has been added to support Adaptive
Server® Enterprise 15 and later releases
• This interface is identical to the existing SYC interface, except that:
– It currently supports only Adaptive Server 15 (the Release database parameter
can only be set to 15)
– It supports large identifiers with up to 128 characters. This support is not available
in the SYC interface
• To use this interface, the Adaptive Server 15 client must be installed
on the client computer
– (The ASE interface is also available in PowerBuilder 10.5.1)
New Microsoft SQL Server Native Driver
•
The new interface uses the SQL Server 2005 native client (sqlncli.h and
sqlncli.dll) on the client side and connects using OLE DB
•
The PBODB initialization file not used
– Connections made directly through OLE DB use the PBODB initialization file to set some
parameters, but connections made using the SNC interface do not depend on the PBODB
initialization file
•
The SNC interface can be used to connect to SQL Server 2005 and SQL Server
2000
•
For SQL Server 2000, the SQL client SDK was provided with the Microsoft
Database Access Components (MDAC)
– MDAC does not support new features in SQL Server 2005
– To use the SNC interface, the SQL Server 2005 SQL Native Client and the .NET Framework
2.0 must be installed on the client computer
Oracle RAC support
– This is a cluster database that uses a shared cache architecture
– A High Availability (HA) client connected to an RAC database can register a
callback to indicate that it wants the server to notify it in case of a database
failure event that affects a connection made by the client
– PowerBuilder developers can script a new event, DBNotification, that has
been added to the Transaction object
– See the description of the DBNotification event and the HANotification
database parameter in the online Help for more details
Enhanced MobilLink Support
– MobiLink is a session-based synchronization system that allows two-way
synchronization between a main database, called the consolidated database,
and multiple remote databases
– The ASA MobiLink Synchronization wizard on the Database tab of the New
dialog box creates objects that facilitate control of database synchronization
from a PowerBuilder application
Enhanced MobilLink Support
– In PowerBuilder 11, system objects have been added to enable MobiLink functionality
to work with .NET applications
– Although the ASA MobiLink Synchronization wizard still generates objects that
facilitate control of database synchronization from PowerBuilder applications, the main
nonvisual object generated by the wizard is now an instance of the MLSync system
object (that inherits from the MLSynchronization base class)
– The wizard no longer generates a global structure object for storage of
synchronization parameters entered by the user, but the synchronization window that
it generates uses the SyncParm system structure instead
– These differences apply even in targets that are not deployed to .NET platforms
PowerBuilder and .NET
5
PowerBuilder’s 4-Phase
.NET Integration Initiative
• Phased approach
– Web Services (PB9)
– DataWindow .NET (PB10
Timeframe)
– .NET Deployment (PB11)
– .NET Resource
Consumption (PB12)
PowerBuilder .NET Compiler Internals
• .NET Integration
PB2CS
Depends On
PowerBuilder
.NET Compiler
Framework
C# Code
Compiles
PBL Files
Generates
– Compiler steps: Relies on redistributing .NET SDK’s C# compiler
References
PowerBuilder
System Library
for .NET
WinForm /
ASP.NET
Application
Deploying Applications as
.NET WebForms Applications in ASP .NET 2.0
20
Architecture:
.NET Web Forms
Applications
PB Web Forms
Application
Compiles to
Sybase.PowerBuilder.Web.DLL
Sybase.PowerBuilder.Common.DLL
PB Application
DataWindow .NET
WebForm Control
PBDWN.DLL
Sybase.PowerBuilder.Interop.DLL
PBSHR.DLL
Sybase.PowerBuilder.Core.DLL
DB Drivers
PB System Library for .NET
PB Runtime DLLs
(without PBVM)
What happens at deployment-time
• PowerScript code is compiled to a .NET assembly
• PBDs with DWO definitions are copied
• Resource files are copied
– Including PowerBuilder stock images
• ASP.NET files are generated
– Default.aspx: the main ASP.NET page
– Default.htm: hide menu and toolbars of IE
What PowerBuilder features can I use?
•
Most PowerScript language features
–
–
–
–
–
•
All data types
Arrays
Function invocation (dynamic, post, trigger)
Event handling
Embedded SQL
Most Controls
– Exceptions: InkPicture, InkEdit, OleControl and OleCustomControl, Data Pipeline
– Drag and Drop is not supported in Web Forms applications
•
File operations
•
Sending Email
•
DataWindow printing
PowerBuilder features not supported
• Some system classes such as:
– Profile-related classes
– Trace-related classes
• Some system functions such as:
– DDE-related functions
– Clipboard-related functions
• Some Controls, properties or events such as:
– OLE – Partially supported
– Drag & drop events
– EditLabels of TreeView
.NET WebForms Application Demonstration
Deploying Applications as .NET Windows Forms Applications
and Optionally as Smart Client Applications
30
PowerBuilder .NET Windows Forms Application
•
Supports most features available in a PowerBuilder Win32 application
–
–
–
–
PowerScript language features
DataWindow, Editmask,RichText, InkEdit, InkPicture,…
DataStore, Transaction, ResultSet,…
Most System functions
•
Consume .NET framework library through PowerBuilder’s .NET
language interop.
•
Preserve PowerBuilder development skills
– Create a PowerBuilder application
– Deploy it as a .NET Windows Forms application
Architecture:
.NET WinForm
Applications
PB Win Forms
Application
Compiles to
Sybase.PowerBuilder.Win.DLL
PB Application
DataWindow .NET
WinForm Control
Application config
Application manifest
Sybase.PowerBuilder.Common.DLL
PBDWN.DLL
Sybase.PowerBuilder.Interop.DLL
PBSHR.DLL
Sybase.PowerBuilder.Core.DLL
DB Drivers
PB System Library for .NET
PB Runtime DLLs
(without PBVM)
PowerBuilder’s
.NET Smart Client Support
– Solves the biggest headache of all…
…Application Deployment
The Best of the Rich Client World
The Ubiquity of the Web
Comparison Between Rich/Thin/Smart Clients
Rich Client
Thin Client
Smart Client
Rich User experience
Yes
No
Yes
Responsive
Yes
No
Yes
Heavy footprint
Yes
No
No
Difficult to deploy
Yes
No
No
DLL Hell
Yes
No
No
Network dependency
No
Yes
No
Easy deployment
No
Yes
Yes
Developer productivity
Yes
No
Yes
Occasionally connected
No
No
Yes
Perform well in low bandwidth network
No
No
Yes
Use Local Resources
Yes
No
Yes
PowerBuilder’s
.NET Smart Client Support
• .NET Smart Client Defined…
– Occasionally connected
• PowerBuilder with MobiLink
– Always up-to-date applications via Smart Updates
• PowerBuilder’s “Intelligent Updater”
– Maximize performance using client resources
• PowerBuilder deployed as WinForm (Rich Client)
– Communicate utilizing Web Services
• PowerBuilder’s Web Service DataWindow
– Utilize network resources
• PowerBuilder’s Web Service DataWindow
• PowerBuilder’s “Intelligent Updater”
• PowerBuilder with MobiLink
Intelligent Updater Overview
• “Intelligent Updater” is a new application deployment
technology that makes deploying a Windows Forms based
application as easy as deploying a Web application
• Based on “ClickOnce” technology of .NET Framework 2.0
• “Intelligent Updater” is designed to address the pain of
updating a typical Client/Server application
Deployment Model
 Application installations and updates are deployed via
centralized servers (via HTTP, FTP, UNC,…)
.NET Windows Forms/Smart Client Demonstration
PowerBuilder 11 .NET Interoperability :
Consuming .NET Resources
10
.NET Interop
– The .NET Framework and other associated third-party managed libraries
provide a very rich resource
– PowerBuilder users can use these libraries to extend the functionality of
PowerBuilder .NET targets and save development time
– .NET language interoperability makes it possible to consume .NET classes
and methods in PowerBuilder applications
– With .NET language interoperability, you can use PowerBuilder syntax to
create .NET classes, call .NET methods, and access .NET properties
– You can make use of .NET collection classes, such as Hashtable and Set,
and you can also make use of powerful .NET communication classes and
other .NET services
.NET Interoperability (Consuming .NET Resources)
• All types in the CTS (Common Type System) may be
consumed
• Classes, Interfaces conforming to CTS may be consumed
• IDE support in the PowerScript Painter
• Support for:
– Parameterized constructors, static properties, static methods
• Exception handling
– Propagates from .NET=>PowerBuilder=>.NET
PowerBuilder 11 .NET Interoperability Demonstration
Deploying PowerBuilder Nonvisual Objects (NVOs)
as .NET Assemblies :
Creating .NET Resources
10
Deploying NVOs as .NET Assemblies
• PowerBuilder NVOs can be deployed as .NET Assemblies
• A .NET Assembly Target Wizard is provided to facilitate this
process
• Data types are automatically mapped between PowerScript
and C#
The runtime:
NVO .NET Assembly
NVO .NET Assembly
PBLs with NVOs
DataWindow .NET
Sybase.PowerBuilder.Win.DLL
Sybase.PowerBuilder.Common.DLL
PBDWN.DLL
Sybase.PowerBuilder.Interop.DLL
PBSHR.DLL
Sybase.PowerBuilder.Core.DLL
DB Drivers
PB System Library for .NET
PB Runtime DLLs
(without PBVM)
NVOs as .NET Assemblies Demonstration
Deploying PowerBuilder Nonvisual Objects (NVOs)
as .NET Web Services:
Creating .NET Resources
15
NVO  .NET Web Service
 What can be exposed as a Web Service?
– Custom Class User Objects (NVOs)
 Within each Web Service, what can be exposed as
Messages?
– Public methods of NVOs with signatures that use supported data types
can be valid Web Service “operations”
 Must be Stateless
– Be mindful of instance lifecycle
The runtime:
NVO ASP.NET
Web Services
NVO ASP.NET
Web Service
compiled
PBLs with NVOs
DataWindow .NET
Sybase.PowerBuilder.Web.DLL
Sybase.PowerBuilder.Common.DLL
PBDWN.DLL
Sybase.PowerBuilder.Interop.DLL
PBSHR.DLL
Sybase.PowerBuilder.Core.DLL
DB Drivers
PB System Library for .NET
PB Runtime DLLs
(without PBVM)
NVOs as .NET Web Services Demonstration
Future PowerBuilder Technology
Showcase
10
Windows Vista:
Windows Presentation Foundation
 High fidelity application experiences.
 Blends together UI, documents and media content.
 Ultra-rich UI and data visualization through XAML.
 Extensible Application Markup Language.
 Vector-based animation.
WPF DataWindow Demonstration
WPF DataWindow Demonstration
Questions?
PowerBuilder Family Promotion:
Valid until 30th June 2007
Buy either 1 copy of PowerBuilder Enterprise or 2 update
licenses and you can also have one copy of:
• PocketBuilder
• Single CPU copy of the PowerBuilder Application Server PlugIn
• DataWindow .NET
For more details contact the PowerBuilder Sales Team or send
an email to: [email protected]
Thank you!
Afternoon Walks-Through:
PowerBuilder 11 .NET Deployment





.NET Web Forms applications in ASP .NET 2.0
.NET Windows Forms and Smart Client applications
.NET Web Services
.NET Assemblies (Interop creation)
.NET Interop (Consuming)