Block 1: Fujitsu Software Corporation Customer Training Series

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 48

Fujitsu Computer Systems

Block 1
.NET Technology Overview
Fujitsu Software Corporation
Customer Training Series
Presented by:
Tim OBrien
Senior Systems Engineer
Fujitsu Software Corporation
PAGE 2 Fujitsu Computer Systems
Let us begin
A journey of a tousand mi!es must begin wit a sing!e step"#
$Si% &entury B"C" Cinese pi!osoper 'ao T(u
PAGE Fujitsu Computer Systems
!ere we "re
I
Software development of is an industry beset
with incompatibilities

Different Languages

Different Operating Systems

Different Hardware latforms

!ncompatible "!s

Shifting "rchitectural Focus


I
Changes were necessary

#icrosoft$s vision% &'(T


PAGE # Fujitsu Computer Systems
$icroso%t h"s " vision
I
"ddresses development issues of the past with
a view toward the future
I
(mbodied in #icrosoft &'(T
I
'ew way of building applications that leverages
industry standards
I
#a)es interoperability a reality
PAGE & Fujitsu Computer Systems
$icroso%t h"s " vision '(ont)
I
&'(T Framewor)

latform for building and running &'(T applications

#a)es development significantly easier

Streamlines the development process

(liminates the most common and debilitating bugs

rovides a common "! for all languages


PAGE * Fujitsu Computer Systems
$icroso%t h"s " vision '(ont)
I
(ncompasses new trends in software
development

Distributed computing

Componenti*ation

(nterprise services

+eb integration of applications

Language interoperability
I
(ncompasses many standards , SO"- +SDL-
.DD!- HTT- HT#L- /#L
PAGE + Fujitsu Computer Systems
About Progr",,ing L"ngu"ges
I
#icrosoft &'(T languages

C0

12&'(T

C33

40
I
Fujitsu &'(T languages

CO2OL

Fortran
PAGE - Fujitsu Computer Systems
About our new .evelo/,ent worl.
I
1isual Studio &'(T is the common !D( for all &'(T
languages
I
"DO&'(T
I
+indows Forms
I
"S&'(T and +eb Forms
I
+eb Services
I
Smart Devices
PAGE 0 Fujitsu Computer Systems
About our new .evelo/,ent worl.
'(ont)
I
&'(T is a new "pplications latform

Development Tools and framewor)

Speciali*ed &'(T (nterprise Servers such as

S5L Server

2i*tal) Server

Commerce Server

"pplication Center Server

Host !ntegration Server

!nternet Security Server

"cceleration Server
PAGE 11 Fujitsu Computer Systems
Buil.ing Blocks
Operating System on Servers , Desktops, Notebooks and smart devices
.NET Building
Block Services
.NET Framework NET Enterprise
Servers
isual Studio .NET
PAGE 11 Fujitsu Computer Systems
Putting together the /u22le
'etCO2OL for
&'(T
12&'(T "DO&'(T
CTS
C0
CL6
& '(T
Framewor)
C33 "S&'(T
PAGE 12 Fujitsu Computer Systems
(o,/onents "n. Ter,s
I
Common Language Specification 7CLS8
I
#icrosoft !ntermediate Language 7#S!L8
I
#etadata and #anifest
I
"ssemblies 7(9ecutables8
I
:lobal "ssembly Cache 7:"C8
PAGE 1 Fujitsu Computer Systems
(o,/onents "n. Ter,s '(ont)
I
'amespaces
I
4ust in Time 74!T8 compilers and the 1erifier
I
Common Language 6untime 7CL68
I
#anaged vs& .nmanaged Code
I
latform !nvocation Services
PAGE 1# Fujitsu Computer Systems
(o,/onents "n. Ter,s '(ont)
I
Framewor) base classes
I
Data and /#L Classes
I
+indows Forms
I
+eb Forms
I
+eb Services
PAGE 1& Fujitsu Computer Systems
(o,,on L"ngu"ge 3/eci%ic"tion '(L3)
I
Supports multiple language integration
I
Specifies a set of common data types
7CTS8
I
Defines rules for e9ternal component
accessibility
PAGE 1* Fujitsu Computer Systems
(L3 '(ont)
I
Ta)es full advantage of e9ceptions- inheritance-
and polymorphism&
I
rovides for automatic garbage collection
I
"ll &'(T compilers must adhere to the CLS and
CTS
PAGE 1+ Fujitsu Computer Systems
$icroso%t 4nter,e.i"te L"ngu"ge '$34L)
I
"bstract intermediate language , a concept
common to many CO2OL compilers
I
Similar to an "ssembly Language with additional
commands to handle objects
I
"ll &'(T Compilers must produce #S!L
7sometimes called ;!L<8&
PAGE 1- Fujitsu Computer Systems
$34L 5 (OBOL 3ource
I
The following e9ample shows a snippet of code from the
#S!L produced by the 'etCO2OL compiler for a
Hello+orld e9ample as shown%

"metod pub!i& idebysig stati& int)* Pro&edure+, &i! managed
- "entrypoint
.. Code si(e *)/ +0%ea,
"ma%sta&1 2
"!o&a!s init +int)* 3405
&!ass 6Fujitsu"COBO'7Fujitsu"COBO'"8untime"ProgramContro!"9isp!ay:nfo67 34;5

&!ass 6Fujitsu"COBO'7Fujitsu"COBO'"8untime"ProgramContro!"9isp!ay:nfo67 34*5

<a!uetype 6Fujitsu"COBO'7Fujitsu"COBO'"COBO'9ata 34),
"try
-
"try
-
:'40000: !dsf!d int)* =A:>::44Comp:nitia!:nfo
:'4000?: brtrue"s :'400;@
:'4000@: !d&"i/"0
:9E>T:F:CAT:O>
9:3:S:O>"
P8OA8A=$:9" =A:>"
E>3:8O>=E>T 9:3:S:O>"

9ATA 9:3:S:O>"
BO8C:>A$STO8AAE
SECT:O>"
P8OCE9D8E 9:3:S:O>"

9:SP'AE FGE''O
BO8'9F"
E>9 P8OA8A= =A:>"
PAGE 10 Fujitsu Computer Systems
$et"."t"
I
&'(T (9ecutables contain metadata , detailed
descriptions of data types and interfaces
I
This includes descriptions of classes- methods-
properties- fields- events- etc&
I
#etadata allows e9ecutables to be truly self=
contained and self=describing
PAGE 21 Fujitsu Computer Systems
$et"."t" '(ont)
I
#etadata is )ind of li)e a super type library
I
The use of #etadata removes the re>uirement
to use the +indows registry
I
" vast improvement over CO#
I
"ids in language interoperability
PAGE 21 Fujitsu Computer Systems
$"ni%est
I
&'(T assemblies also contain a #anifest which
describes everything about the assembly such as files
belonging to that component

(9ternal references to other assemblies and classes

ermission re>uests

"nything else re>uired for component usage


PAGE 22 Fujitsu Computer Systems
4L6A3$
I
!LD"S# ,
!ntermediate
Language
Disasembler is a
utility that lets you
view metadata&
I
!t will also allow
you to see #S!L?
PAGE 2 Fujitsu Computer Systems
A//lic"tion 6o,"ins
I
'(T "ssemblies e9ecute within an
"pplication Domain
I
Similar to +indows rocesses
I
#ultiple "pplication Domains may run
within a single +indows rocess
PAGE 2# Fujitsu Computer Systems
A//lic"tion 6o,"ins
I
rovides significant scalability
I
#anaged code assemblies running under
CL6 provides reliability
PAGE 2& Fujitsu Computer Systems
Asse,blies
I
&'(T (9ecutables are called ;"ssemblies<
I
"ssemblies contain a #anifest- #etadata and
#S!L
I
"ssemblies may contain a single module or
multiple modules
I
"ssemblies may be Static- Dynamic- rivate or
ublic 7Shared8
PAGE 2* Fujitsu Computer Systems
Asse,blies '(ont)
I
"ssemblies may be versioned allowing multiple
versions of the same named assembly to be
available on the same machine allowing side by
side e9ecution
I
Shared "ssemblies must be registered in the
:lobal "ssembly Cache 7:"C8 at installation
time
PAGE 2+ Fujitsu Computer Systems
Asse,blies '(ont)
I
Shared "ssemblies must be )eyed
I
"ssemblies may have uni>ue security and
permissions set
PAGE 2- Fujitsu Computer Systems
N",es/"ces
I
rovides a way to group classes logically
I
"dds another level of scoping for classes
I
"llows organi*ation of classes
I
'amespaces may be hierarchical using dots as
separators
PAGE 20 Fujitsu Computer Systems
N",es/"ces '(ont)
Classes for performing file and
stream !@O
System&!O
Classes that wrap networ)
protocols
System&'et
Hash tables- resi*able arrays- and
other containers
System&Collections
Code data types and au9iliary
classes
System
Contents 'ame Space
PAGE 1 Fujitsu Computer Systems
7ust in Ti,e '74T) (o,/ilers
I
Translates #S!L into #achine Code
I
The 1erifier first chec)s type safety at runtime
I
#ultiple 4!T$s available
I
'ative Code produced is cached by default
PAGE 1 Fujitsu Computer Systems
7ust in Ti,e '74T) (o,/ilers '(ont)
I
Typically- only portions of an application that are
referenced are 4!T$ed&
I
4!T may thus be incremental throughout the life
of an application
I
&'(T comes with Standard 4!T- (cono4!T and
re4it
PAGE 2 Fujitsu Computer Systems
7ust in Ti,e '74T) (o,/ilers '(ont)
I
(cono4it targets small hardware platforms and
does not cache code
I
re4it may be used to pre=compile applications
to native code and cache such at installation
time 7invo)es Standard 4!T8
PAGE Fujitsu Computer Systems
(o,,on L"ngu"ge 8unti,e '(L8)
I
Loads- manages and e9ecutes &'(T
e9ecutables 7assemblies8
I
"ctivates &'(T objects- security chec)s them-
lays them out in memory- e9ecutes them and
garbage collects them
I
#anages 4!T of applications
PAGE # Fujitsu Computer Systems
$"n"ge. vs. 9n,"n"ge. (o.e
I
#anaged Code is any e9ecutable produced by a
&'(T Compiler
I
.nmanaged Code is any e9ecutable code
produced by a non=&'(T compiler such as non=&
'(T versions for Fujitsu CO2OL
I
&'(T Compilers may optionally produce
unmanaged code
PAGE & Fujitsu Computer Systems
Pl"t%or, 4nvoc"tion 3ervices
I
&'(T provides latform !nvocation Services to
allow &'(T applications 7managed code8 to call
non=&'(T applications and pass data to and
from such
I
&'(T latform !nvocation services are )nown as
;!nvo)e<
PAGE * Fujitsu Computer Systems
:r",ework B"se (l"sses
I
!mportant building bloc)s for &'(T applications
I
!ncludes basic data types
I
System is the root of the &'(T base class
'amespace
PAGE + Fujitsu Computer Systems
:r",ework B"se (l"sses '(ont)
I
" large number of these classes are provided&
They include%

system object

Collections

Data

!@O

+eb and +eb Forms

+indows Forms

'etwor)

+inAB
PAGE - Fujitsu Computer Systems
6"t" "n. ;$L (l"sses
I
System&!O class provides basic file !@O
streaming functionality
I
System&Data class provides "DO&'(T relational
database functionality
I
System&Data&OleDb allows for managed
providers to be implemented
PAGE 0 Fujitsu Computer Systems
6"t" "n. ;$L (l"sses '(ont)
I
System&Data&S>lClient allows for managed
providers using S5L to be implemented
I
System&/#L class provides significant /#L
functionality
PAGE #1 Fujitsu Computer Systems
<in.ows :or,s
I
(asy way to develop graphical user interface
7:.!8 +indows "pplications
I
1isual Studio &'(T provides graphical forms
painter for all integrated &'(T languages-
including Fujitsu 'etCO2OL
I
Code is automatically generated within the
program source code being edited by the Forms
painter
PAGE #1 Fujitsu Computer Systems
<in.ows :or,s '(ont)
I
Developers may concentrate on writing event
procedures for :.! applications- as opposed to
being forced to write code to actually implement
the :.! controls and related event handling
I
&'(T Framewor) provides System&+inForms
class for +indows Forms
PAGE #2 Fujitsu Computer Systems
<eb :or,s
I
"llows development of "S&'(T pages with
graphical controls and event driven
programming model
I
1isual Studio &'(T provides graphical web
forms painter for all integrated &'(T languages-
including Fujitsu 'etCO2OL
PAGE # Fujitsu Computer Systems
<eb :or,s '(ont)
I
"S&'(T pages containing program code to implement
the desired controls are automatically generated by the
Forms painter
I
Developers may concentrate on writing event procedures
for "S&'(T applications- as opposed to being forced to
write code to actually implement the :.! controls and
related event handling
I
&'(T Framewor) provides System&+eb&.! class for +eb
Forms
PAGE ## Fujitsu Computer Systems
<eb 3ervices
I
"llows access to distributed application
components via standard +eb protocols such as
HTT and S#T
I
#a)es use of SO" 7Simple Object "ccess
rotocol8
I
Opens up a whole new world of +eb based
callable software service components
PAGE #& Fujitsu Computer Systems
<eb 3ervices '(ont)
I
.ses +SDL 7+eb Services Description
Language8 to discover and interface to remote
+eb Service components
I
Third arty +eb Services already appearing
such as #icrosoft$s assport
I
&'(T Framewor) provides
System&+eb&Services framewor) class
PAGE #* Fujitsu Computer Systems
=isu"l 3tu.io .NET
I
1isual Studio &'(T is the common !ntegrated
Development (nvironment 7!D(8 for all enabled
languages
I
rovides a rich set of tools- including project
management- edit- build and debug- forms
painters- server e9plorer- etc&
PAGE #+ Fujitsu Computer Systems
=isu"l 3tu.io .NET '(ont)
I
Same editor and debugger are used across all
enabled &'(T languages
I
Substantial integrated Help system documents
the &'(T framewor) and languages
PAGE #- Fujitsu Computer Systems
>uestions

You might also like