43
PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. [email protected]

PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. [email protected]

Embed Size (px)

Citation preview

Page 1: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

PowerBuilder 11 Overview

Jim O’NeilPrincipal Systems ConsultantSybase, [email protected]

Page 2: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Agenda

• PowerBuilder roadmap

• PowerBuilder 11 feature overview

• SySAM licensing

• Upcoming PowerBuilder events

Page 3: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

PowerBuilder Roadmap

• Version 11 released in June 2007

• 11.1 Maintenance Release available November 14, 2007

• Delivers on third-phase of PowerBuilder’s .NET initiative

Page 4: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Language Independence

ApplicationConnectivity

MultiplePlatformSupport

PowerAnd

Performance

2009PowerBuilder 12

• .NET in IDE• WPF/WCF support at

design and run-time• Fully managed code

at deployment• Complete .NET

interoperability

2008PowerBuilder 11.2

• AJAX support for Web Forms Applications

• EAServer .NET Client Support

• Miscellaneous fixes

2008PowerBuilder 11.5

• Core .NET enhancements

• Native DataWindow updates

• Updated database support

• Miscellaneous fixes

Page 5: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

PowerBuilder 11 Feature Overview

• IDE enhancements• User interface enhancements• Database connectivity updates• Web Service DataWindow source• .NET deployment

• .NET Web Forms applications

• .NET Windows Forms and Smart Client applications

• .NET Web Services

• .NET Assemblies

Page 6: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

IDE Enhancements

10

Page 7: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

IDE Enhancements

• Resizable dialog boxes

Page 8: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

IDE Enhancements

• Updated menus and toolbars

Page 9: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

IDE Enhancements

• System tree– Current target highlighted

– Script decorator

– Double-click enabled

Page 10: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

IDE Enhancements

• Project painters– Common tabbed metaphor

– In-place editing

– Post-build actions

– Run/debug action

Page 11: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

IDE Enhancements

• Output window tabs– Default

– Errors

– Warnings

– Search results

– Unsupported features

Page 12: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

IDE Enhancements

• Retain DataWindow retrieval arguments

11.1

Page 13: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

User Interface Enhancements

10

Page 14: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

User Interface Enhancements

• Window properties– Transparency

– Animation

Page 15: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

User Interface Enhancements

• DataWindow Use Ellipsis Property

Page 16: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

User Interface Enhancements

• TreeView DataWindow for Web applications

Page 17: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Vista Support

• 11.1 Maintenance Release – Deployment and development support

– 32-bit and 64-bit support (Vista Business Edition)

• Administrator privileges required to install and run

• Manifest file support for end-user applications

• Some caveats– JSP targets not supported (due to lack of support for HTML editor)

– Calendar controls (Microsoft Common Controls) not fully supported

– Windows Help file support not included, but can be added manually

– PDF printer driver configuration - SaveAs(PDF!,….)

11.1

Page 18: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Database Connectivity Updates

10

Page 19: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

• New interface supports version 15 and later – SQLCA.DBMS = “ASE” (DLL name PBASE110.DLL)– Requires Open Client 15– ASE 15 feature support

• Identifier names up to 128 characters• Scrollable cursors• New integral data types• Identity column support

• Updated SYC interface supports some features of ASE 15– Scrollable cursors– New integral data types– Identity column support

Sybase Adaptive Server Enterprise (ASE) 15

11.1

Page 20: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Microsoft SQL Server

• New native driver interface– SQLCA.DBMS = “SNC” (DLL name PBSNC110.DLL)– Supports SQL Server 2000 and 2005– Relies on SQL Server 2005 native client installation

• SQL Server 2005 support– Multiple active result sets (MARS)– Bypass validation during encryption– Snapshot isolation level

• DBParm support– SPCache: Cache stored procedure parameter descriptions – Previous native driver Host and AppName parameters reinstated

Page 21: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Oracle 10g

• Real Application Cluster (RAC) support– RAC is an optional feature to support seamless failover when a

single database is deployed across a hardware cluster– PowerBuilder support

• HANotification DBParm on enables notification• Transaction object DBNotification event fires when server down• Event return value determines next action

– 0: initiate failover

– other value: stop processing current command and return error

• Statement caching (DBParm: StatementCache) 11.1

Page 22: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Informix 10

• New native driver interface – SQLCA.DBMS = “I10” (DLL name PBI10110.DLL)

– Supports IBM Informix Dynamic Server

– Requires Informix Client Connect 2.9 for runtime

• Improvements over previous driver– Support for Unicode databases

(DBParms: Client_Locale, DB_Locale, and StrByCharset)

– Support for long table and column names, up to 128 characters

– Statement caching support (DBParm: StmtCache)

– Column encryption support (DBParms: EncryptionPass and Hint)

11.1

Page 23: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

iAnywhere MobiLink Support

• Sybase technology providing session-based synchronization between a main database and multiple remote databases

• New PowerBuilder built-in object support – MLSynchronization – abstract base class for MLSync object

– MLSync – wraps call to dbmlsync.exe to perform synchronization and respond to

callbacks

– SyncParm – structure used to set properties for the MLSync object obtained from default or customized

synchronization options window

– SyncProcessType – enumeration indicating direction of the synchronization

Page 24: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Web Service DataWindow Data Source

10

Page 25: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Web Service DataWindow

• New Data Source option

• Retrieve and update

• Uses .NET Framework

Web Services DataWindow

Tuesday, Feb. 5, 2008

David AveraStaff Software Engineer

Web Services DataWindow

Tuesday, Feb. 5, 2008

David AveraStaff Software Engineer

Page 26: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

.NET Deployment Options

10

Page 27: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

.NET Deployment

• Entire applications– .NET Windows Forms applications

– .NET Smart Client applications

– .NET Web Forms applications

• Business objects (NVOs)– .NET Assemblies

– .NET Web Services

• Key components– PB2CS – PowerBuilder .NET compiler

– .NET Framework SDK

Page 28: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

.NET EXE orAssembly

CSC

PowerBuilder .NET Deployment

Syntax errors

save/build

C#translation

deploy

Unsupportedfeatures

PB2CS

PowerBuilder System LibraryFor .NET

(managed code)

DataWindow EngineDatabase Interfaces(unmanaged code)

PowerScriptSource

PBDs(DataWindow Objects)

Page 29: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

.NET Assemblies

ISUG Techcast archives(presented Nov. 13, 2007)

Jim O’NeilSystems Consultant

.NET Assemblies

ISUG Techcast archives(presented Nov. 13, 2007)

Jim O’NeilSystems Consultant

.NET Web Forms

Dec. 11, 2007

David FishEngineering Evangelist

.NET Web Forms

Dec. 11, 2007

David FishEngineering Evangelist

.NET Windows FormsAnd Interoperability

Dec. 4, 2007

Jim O’NeilSystems Consultant

.NET Windows FormsAnd Interoperability

Dec. 4, 2007

Jim O’NeilSystems Consultant

.NET Smart Client

Jan. 15, 2008

John StranoTechnology Evangelist

.NET Smart Client

Jan. 15, 2008

John StranoTechnology Evangelist

Web ServiceDataWindow

Feb. 5, 2008

David AveraStaff Software Engineer

Web ServiceDataWindow

Feb. 5, 2008

David AveraStaff Software Engineer

PowerBuilder 11 Overview

Nov. 20, 2008

Jim O’NeilSystems Consultant

PowerBuilder 11 Overview

Nov. 20, 2008

Jim O’NeilSystems Consultant

.NET Web Services

Jan. 29, 2008

David FishEngineering Evangelist

.NET Web Services

Jan. 29, 2008

David FishEngineering Evangelist

PowerBuilder 11.NET DeploymentWeb Casts

Page 30: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SySAM License Management

10

Page 31: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Sybase Software Asset Management (SySAM)

• Implemented using Macrovision© FLEXnet software licensing compliance management system– Monitor license usage

– Report on usage metrics

– Automate software delivery

• PowerBuilder’s implementation– Stand-alone seat: license tied to specific hardware

– Served or unserved licensing

• Unserved: license resides locally

• Served: license server validates on each access

– Alternative use license: product may be installed on second machine for non-concurrent use by licensee

Page 32: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Software Product Download Center (SPDC)

• URL: https://sybase.subscribenet.com/• Contact on order has user id and password to login

Page 33: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – Product Entitlements

• Select desired product

Page 34: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – Product Page

Page 35: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – License Generation

Alternative Use InformationAlternative Use Information

Return generated licenseReturn generated license

Generate new licenseGenerate new license

Page 36: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – License Generation

• Step 1: License usage

N.B., Alternative Use License is for use by primary licenseholder only, for non-concurrent use on a second machine

Page 37: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – License Generation

• Step 2: License model

N.B., Served license is required for installations that willsupport remote access such as through Terminal Services

Page 38: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – License Generation

• Step 3: Number of Machines to License (unserved) orLicense Quantity (served)

Page 39: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – License Generation

• Step 4: Host machine identification– Node Host ID

• Ethernet address (card must be enabled to validate license)

• Disk serial number (preface with DISK_SERIAL_NUM=)

– Host Name: machine name

– (Served only) Port number and failover servers, if desired

Page 40: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – License Generation

• Step 5: Save license

Page 41: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

SPDC – License Generation

• Step 6: Apply to product

Page 42: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Upcoming PowerBuilder events

• ISUG “Leveraging PowerBuilder in the .NET World”– Day-long, hands-on training event

– Multiple cities in North America through December

– Visit http://www.isug.com/pb11tour for details

• Sybase web casts– Windows Forms and .NET Interoperability (Dec 4th)

– Web Forms (Dec 11th)

– Smart Client (Jan 15th)

– Web Services Deployment (Jan 29th)

– Web Services DataWindow (Feb 5th)

– Visit http://response.sybase.com/forms/pbregistration to sign-up!!

Page 43: PowerBuilder 11 Overview Jim O’Neil Principal Systems Consultant Sybase, Inc. joneil@sybase.com

Q&A