How To Write A Program On Java.Io.2.2 (Java)
|
|
|
- August Patrick
- 5 years ago
- Views:
Transcription
1 Programowanie i projektowanie obiektowe Java Paweł Daniluk Wydział Fizyki Jesień 2014 P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
2 Przegląd składni Komentarze / This i s a m u l t i l i n e comment. I t may occupy more than one l i n e. / // This i s an end of l i n e comment Zmienne i przypisania i n t myint ; / D e c l a r i n g an u n i n i t i a l i z e d v a r i a b l e c a l l e d myint, o f t y p e i n t / myint = 3 5 ; // I n i t i a l i z i n g the v a r i a b l e i n t myotherint = 3 5 ; / D e c l a r i n g and i n i t i a l i z i n g the v a r i a b l e at the same time / P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
3 Przegląd składni c.d. Instrukcja warunkowa i f ( i == 3) dosomething ( ) ; i f ( i == 2) dosomething ( ) ; e l s e dosomethingelse ( ) ; i f ( i == 3) { dosomething ( ) ; e l s e i f ( i == 2) { dosomethingelse ( ) ; e l s e { d o S o m e t h i n g D i f f e r e n t ( ) ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
4 Przegląd składni c.d. Instrukcja wyboru s w i t c h ( ch ) { case A : dosomething ( ) ; // T r i g g e r e d i f ch == A break ; case B : case C : dosomethingelse ( ) ; // T r i g g e r e d i f ch == B break ; // or ch == C d e f a u l t : d o S o m e t h i n g D i f f e r e n t ( ) ; // T r i g g e r e d i n any o t h e r c a s e break ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
5 Przegląd składni c.d. Pętla while w h i l e ( i < 10) { dosomething ( ) ; // dosomething ( ) i s c a l l e d at l e a s t once do { dosomething ( ) ; w h i l e ( i <10); P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
6 Przegląd składni c.d. Pętla for f o r ( i n t i = 0 ; i < 1 0 ; i ++) { dosomething ( ) ; // A more complex l o o p u s i n g two v a r i a b l e s f o r ( i n t i = 0, j = 9 ; i < 1 0 ; i ++, j = 3) { dosomething ( ) ; f o r ( ; ; ) { dosomething ( ) ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
7 Tablice W Javie podstawowym odpowiednikiem Pythonowych list są tablice (ang. arrays), które mają z góry ustaloną długość. i n t [ ] numbers = new i n t [ 5 ] ; numbers [ 0 ] = 2 ; numbers [ 1 ] = 5 ; i n t x = numbers [ 0 ] ; Inicjalizacja // Long s y n t a x i n t [ ] numbers = new i n t [ 5 ] {20, 1, 42, 15, 3 4 ; // Short s y n t a x i n t [ ] numbers2 = {20, 1, 42, 15, 3 4 ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
8 Tablice c.d. Tablice wielowymiarowe i n t [ ] [ ] numbers = new i n t [ 3 ] [ 3 ] ; number [ 1 ] [ 2 ] = 2 ; i n t [ ] [ ] numbers2 = {{2, 3, 2, {1, 2, 6, {2, 4, 5 ; Wiersze mogą być różnej długości // I n i t i a l i z a t i o n o f the f i r s t d i m e n s i o n o n l y i n t [ ] [ ] numbers = new i n t [ 2 ] [ ] ; numbers [ 0 ] = new i n t [ 3 ] ; numbers [ 1 ] = new i n t [ 2 ] ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
9 Klasy w Javie c l a s s Pusta { P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
10 Klasy w Javie c l a s s Pusta { Atrybuty c l a s s Osoba { S t r i n g i m i e ; S t r i n g nazwisko ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
11 Klasy w Javie c l a s s Pusta { Atrybuty c l a s s Osoba { S t r i n g i m i e ; S t r i n g nazwisko ; Metody c l a s s Osoba { S t r i n g i m i e ; S t r i n g nazwisko ; S t r i n g i m i e ( ) { r e t u r n i m i e ; S t r i n g nazwisko ( ) { r e t u r n nazwisko ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
12 Dziedziczenie c l a s s Animal { S t r i n g t a l k ( ) { r e t u r n "?!?!? " ; c l a s s Cat extends Animal { S t r i n g t a l k ( ) { r e t u r n "Meow! " ; c l a s s Dog extends Animal { S t r i n g t a l k ( ) { r e t u r n "Woof! " ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
13 Dziedziczenie c.d. s t a t i c v o i d main ( ) { Animal a=new Cat ( ) ; Dog d=new Dog ( ) ; System. out. p r i n t l n ( a. t a l k ( ) ) ; a=d ; // Takie p r z y p i s a n i e j e s t ok. Cat c=a ; // A t a k i e n i e. i f ( a i n s t a n c e o f Cat ) { // Za to wolno tak. Cat c = ( Cat ) a ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
14 Dziedziczenie c.d. Przysłanianie metod Jeżeli w podklasie jest zdefiniowana metoda o takiej samej nazwie jak w nadklasie, to dla każdego obiektu podklasy będzie ona wykonywana, niezależnie od typu referencji, która wskazuje na obiekt. Anotacja oznaczająca metodę P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
15 Odwoływanie się do elementów nadklasy super oznacza referencję do nadklasy this oznacza referencję do samej siebie Przykład c l a s s KolorowyKlocek e xtends Klocek { S t r i n g k o l o r ; p u b l i c S t r i n g t o S t r i n g ( ) { r e t u r n s u p e r. t o S t r i n g ()+" k o l o r u "+k o l o r ; s e t K o l o r ( S t r i n g k o l o r ) { t h i s. k o l o r=k o l o r ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
16 Konstruktory Konstruktor c l a s s Osoba { S t r i n g i m i e ; S t r i n g nazwisko ; i n t wiek ; Osoba ( S t r i n g imie, S t r i n g nazwisko ) { t h i s. i m i e = i m i e ; t h i s. nazwisko = nazwisko ; Osoba ( S t r i n g imie, S t r i n g nazwisko, i n t wiek ) { t h i s ( imie, nazwisko ) ; t h i s. wiek = wiek ; Wywołanie innego konstruktora musi być pierwszą instrukcją. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
17 Konstruktory c.d. Konstruktor, a dziedziczenie Definiując konstruktor podklasy można posłużyć się konstruktorem nadklasy. Konstruktor, a dziedziczenie c l a s s Student e xtends Osoba { i n t n r I n d e k s u ; Student ( S t r i n g imie, S t r i n g nazwisko, i n t n r I n d e k s u ) { s u p e r ( imie, nazwisko ) ; t h i s. n r I n d e k s u = n r I n d e k s u ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
18 Przeciążanie Przeciążanie metod W klasie mogą być zdefiniowanych wiele metod o tej samej nazwie różniących się liczbą i typem argumentów. c l a s s K a l k u l a t o r { i n t dodaj ( i n t a, i n t b ) {... double dodaj ( double a, double b ) {... P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
19 Typy danych (w Javie) Typy pierwotne typ wartości logicznych: boolean typy całkowitoliczbowe: byte, short, int, long, char typy zmiennopozycyjne: float, double P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
20 Typy danych (w Javie) Typy pierwotne typ wartości logicznych: boolean typy całkowitoliczbowe: byte, short, int, long, char typy zmiennopozycyjne: float, double Typy referencyjne typy klas typy interfejsów typy tablic P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
21 Typy pierwotne Zmienna typu pierwotnego zawiera pojedynczą wartość. i n t i ; double f =0.5; typ wartości boolean true, false byte short 32, , 767 int 2, 147, 483, 648 2, 147, 483, 647 long 9, 223, 372, 036, 854, 775, 808 9, 223, 372, 036, 854, 775, 807 char float double P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
22 Typy referencyjne Zmienna typu referencyjnego ma wartość null lub wskazuje na wartość odpowiedniego typu. Wartości typów referencyjnych mogą się zmieniać w czasie. i n t i, j ; i = 5 ; j = i ; System. out. format ( " i : %d j : %d\n", i, j ) ; j = 3 ; System. out. format ( " i : %d j : %d\n", i, j ) ; i: 5 j: 5 i: 5 j: 3 P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
23 Typy referencyjne c.d. c l a s s Test { i n t v a l ; Test o b I = new Test ( ) ; o b I. v a l = 5 ; Test obj = o b I ; System. out. format ( " o b I. v a l : %d obj. v a l : %d\n", o b I. v a l, obj. v a l ) obj. v a l = 3 ; System. out. format ( " o b I. v a l : %d obj. v a l : %d\n", o b I. v a l, obj. v a l ) obi.val: 5 obj.val: 5 obi.val: 3 obj.val: 3 P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
24 Organizacja kodu w Javie Klasy i interfejsy Każda klasa (lub interfejs) umieszczana jest w osobnym pliku (z rozszerzeniem.java). Pakiety Pliki z klasami mogą być umieszczane w drzewiastej strukturze analogicznej do katalogów w systemie plików. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
25 Modyfikatory dostępu Dostępność elementów Modyfikator Wewnątrz klasy W innej klasie w tym samym pakiecie Podklasa w innym pakiecie Dowolna klasa w innym pakiecie private tak nie nie nie domyślnie tak tak nie nie protected tak tak tak nie public tak tak tak tak P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
26 Kapsułkowanie Często opłaca się deklarować atrybuty z modyfikatorem private i udostępniać metody do pobierania i zmieniania ich wartości. Przykład p u b l i c c l a s s A { p r i v a t e i n t v a l ; p r i v a t e boolean cond ; i n t g e t V a l ( ) { r e t u r n v a l ; v o i d s e t V a l ( i n t v a l ) { t h i s. v a l = v a l ; boolean iscond ( ) { r e t u r n cond ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
27 Modyfikatory Modyfikatory klas abstract Klasa służy wyłącznie jako węzeł w hierarchii klas. Nie można tworzyć obiektów należących do niej. final Nie można dziedziczyć z klas oznaczonych tym atrybutem. static Modyfikatory metod abstract Stosowany z klasach abstrakcyjnych. Oznacza, że metoda o takiej nazwie i argumentach musi być zdefiniowana we wszystkich podklasach. final Nie można przesłaniać metod oznaczonych tym atrybutem. static P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
28 Modyfikator static static oznacza, że element klasy nie należy do żadnej jej instancji. c l a s s Foo { s t a t i c i n t bar ; f l o a t baz ; Foo f=new Foo ( ) ; // Poprawnie Foo. bar=10 f. baz=foo. bar ; // Niepoprawnie Foo. baz ; f. bar ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
29 Modyfikator static c.d. Statyczne metody nie mają dostępu do atrybutów instancji. c l a s s Foo { s t a t i c i n t bar ; f l o a t baz ; v o i d qux ( ) { // Dobrze i n t i=bar ; baz=2 baz ; s t a t i c v o i d bag ( ) { baz +=3.14; // Z l e i n t j =2 bar ; // Dobrze P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
30 Klasy zagnieżdżone Zwykłe klasy (niezagnieżdżone) c l a s s Foo { // C l a s s members Klasy zagnieżdżone c l a s s Foo { // Top l e v e l c l a s s c l a s s Bar { // Nested c l a s s P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
31 Klasy zagnieżdżone c.d. Klasy lokalne c l a s s Foo { v o i d bar ( ) { c l a s s Foobar { // L o c a l c l a s s w i t h i n a method Klasy anonimowe c l a s s Foo { v o i d bar ( ) { new Object ( ) { // C r e a t i o n o f a new anonymous c l a s s e x t e n d i n g Objec ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
32 Próba podsumowania System typów W Javie typy mają zarówno zmienne, jak i obiekty. Nie można przypisać referencji do obiektu na zmienną, której tym nie zawiera typu obiektu. To wymusza tworzenie nadklas. (-) Typowanie zmiennych umożliwia przeciążanie. (+) W przypadku dużych kłopotów trzeba stosować rzutowanie (-) Kapsułkowanie i prawa dostępu Można zabezpieczać klasy i ich komponenty (+) Kapsułkowanie jest koniecznością (-) P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
33 Próba podsumowania c.d. Funkcje i klasy W Javie funkcje nie są wartościami (nie ma first-class functions) (-) Wcale nie ma funkcji (-) Trzeba tworzyć klasy z metodami statycznymi (-) Żeby przekazać funkcję trzeba stworzyć klasę z odpowiednią metodą i przekazać jej instancję. (-) Klasy anonimowe pomagają. (+) Wielodziedziczenie Brak (-) P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
34 Interfejsy Interfejs to szczególny przypadek klasy abstrakcyjnej, która nie implementuje żadnych metod. Pozwalają na wielodziedziczenie w wersji dla ubogich. Przykład c l a s s Pracownik e xtends Osoba // d z i e d z i c z e n i e po k l a s i e c l a s s Samochod implements Pojazd, Towar // d z i e d z i c z e n i e po k i l k u i n t e r f e s j a c h c l a s s Chomik e xtends Ssak implements Puchate, DoGlaskania // d z i e d z i c z e n i e po k l a s i e i k i l k u i n t e r f e j s a c h P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
35 Interfejsy c.d. Przykład i n t e r f a c e A c t i o n L i s t e n e r { v o id a c t i o n S e l e c t e d ( i n t a c t i o n ) ; i n t e r f a c e R e q u e s t L i s t e n e r { i n t r e q u e s t R e c e i v e d ( ) ; c l a s s A c t i o n H a n d l e r implements A c t i o n L i s t e n e r, R e q u e s t L i s t e n e r { v oid a c t i o n S e l e c t e d ( i n t a c t i o n ) { p u b l i c i n t r e q u e s t R e c e i v e d ( ) { // C a l l i n g method d e f i n e d by i n t e r f a c e R e q u e s t L i s t e n e r l i s t e n e r = new A c t i o n H a n d l e r ( ) ; / A c t i o n H a n d l e r can r e p r e s e n t e d be as R e q u e s t L i s t e n e r... / l i s t e n e r. r e q u e s t R e c e i v e d ( ) ; /... and t h u s i s known to implement r e q u e s t R e c e i v e d ( ) method / P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
36 Typy generyczne Dzięki polimorfizmowi możemy mieć kontenery zawierające dowolne obiekty, ale żeby zrobić coś z ich zawartością konieczne jest rzutowanie. L i s t v = new A r r a y L i s t ( ) ; v. add ( " t e s t " ) ; I n t e g e r i = ( I n t e g e r ) v. g e t ( 0 ) ; // Run time e r r o r Gdybyśmy umieli powiedzieć, że v będzie przechowywać wyłącznie ciągi znaków, wykrylibyśmy problem już podczas kompilacji. L i s t <S t r i n g > v = new A r r a y L i s t <S t r i n g >(); v. add ( " t e s t " ) ; I n t e g e r i = v. g e t ( 0 ) ; // ( t y p e e r r o r ) Compile time e r r o r P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
37 Typy generyczne c.d. p u b l i c i n t e r f a c e L i s t <E> { v o i d add (E x ) ; I t e r a t o r <E> i t e r a t o r ( ) ; p u b l i c i n t e r f a c e I t e r a t o r <E> { E n e x t ( ) ; boolean hasnext ( ) ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
38 Klasa generyczna Definicja / This c l a s s has two t y p e v a r i a b l e s, T and V. T must be a s u b t y p e o f A r r a y L i s t and implement F o r m a t t a b l e i n t e r f a c e / p u b l i c c l a s s Mapper<T extends A r r a y L i s t & Formattable, V> { p u b l i c void add (T a r r a y, V item ) { // a r r a y has add method b e c a u s e i t i s an A r r a y L i s t s u b c l a s s a r r a y. add ( item ) ; Zastosowanie / Mapper i s c r e a t e d f o r CustomList as T and I n t e g e r as V. CustomList must be a s u b c l a s s o f A r r a y L i s t and implement F o r m a t t a b l e / Mapper<CustomList, I n t e g e r > mapper = new Mapper<CustomList, I n t e g e r >(); P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
39 Klasa generyczna c.d. / Any Mapper i n s t a n c e with CustomList as the f i r s t parameter may be used r e g a r d l e s s o f the second one. / Mapper<CustomList,?> mapper ; mapper = new Mapper<CustomList, Boolean >(); mapper = new Mapper<CustomList, I n t e g e r >(); / W i l l not a c c e p t t y p e s t h a t use a n y t h i n g but a s u b c l a s s o f Number as the second parameter / v o i d addmapper ( Mapper <?,? e xtends Number> mapper ) { P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
40 Generyczne metody c l a s s Mapper { // The c l a s s i t s e l f i s not g e n e r i c, the c o n s t r u c t o r i s <T, V> Mapper (T a r r a y, V item ) { / This method w i l l a c c e p t o n l y a r r a y s o f the same t y p e as the s e a r c h e d item t y p e or i t s s u b t y p e / s t a t i c <T, V e xtends T> boolean c o n t a i n s (T item, V [ ] a r r ) { f o r (T c u r r e n t I t e m : a r r ) { i f ( item. e q u a l s ( c u r r e n t I t e m ) ) { r e t u r n t r u e ; r e t u r n f a l s e ; P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
41 Generyczne intefejsy i n t e r f a c e Expandable<T e xtends Number> { v o i d additem (T item ) ; // This c l a s s i s p a r a m e t r i z e d c l a s s Array<T e xtends Number> implements Expandable<T> { v o i d additem (T item ) { // And t h i s i s not and u s e s an e x p l i c i t t y p e i n s t e a d c l a s s I n t e g e r A r r a y implements Expandable<I n t e g e r > { v o i d additem ( I n t e g e r item ) { P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
42 Kolejna próba podsumowania Konieczność stosowania interfejsów i typów generycznych wynika z braku wielodziedziczenia i statycznego typowania. Przy typowaniu dynamicznym (duck typing) wystąpienie obiektu niewłaściwej klasy (lub brak atrybutu albo metody) może zostać wykryte dopiero podczas pracy programu. W Javie jest to wykrywane na etapie kompilacji (o ile nie stosuje się rzutowania). Typy generyczne pozwalają uniknąć rzutowania. Kosztem jest skomplikowany kod. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
43 Java TM Platform, Standard Edition 6 Pakiety java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. java.awt.color Provides classes for color spaces. java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. java.awt.font Provides classes and interface relating to fonts. java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. java.awt.im Provides classes and interfaces for the input method framework. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
44 Java TM Platform, Standard Edition 6 Pakiety java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. java.awt.color Provides classes for color spaces. java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. java.awt.font Provides classes and interface relating to fonts. java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. java.awt.im Provides classes and interfaces for the input method framework. java.awt.im.spi Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. java.awt.image Provides classes for creating and modifying images. java.awt.image.renderable Provides classes and interfaces for producing renderingindependent images. java.awt.print Provides classes and interfaces for a general printing API. java.beans Contains classes related to developing beans components based on the JavaBeansTM architecture. java.beans.beancontext Provides classes and interfaces relating to bean context. java.io Provides for system input and output through data streams, serialization and the file system. java.lang Provides classes that are fundamental to the design of the Java programming language. java.lang.annotation Provides library support for the Java programming language annotation facility. java.lang.instrument Provides services that allow Java programming language agents to instrument programs running on the JVM. java.lang.management Provides the management interface for monitoring and P. Daniluk(Wydział Fizyki) management PO w. of XIII the Java virtual machine as well as the Jesień / 51
45 Java TM Platform, Standard Edition 6 Pakiety java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. java.awt.color Provides classes for color spaces. java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. java.awt.font Provides classes and interface relating to fonts. java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. java.awt.im Provides classes and interfaces for the input method framework. java.awt.im.spi Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. java.awt.image Provides classes for creating and modifying images. java.awt.image.renderable Provides classes and interfaces for producing renderingindependent images. java.awt.print Provides classes and interfaces for a general printing API. java.beans Contains classes related to developing beans components based on the JavaBeansTM architecture. java.beans.beancontext Provides classes and interfaces relating to bean context. java.io Provides for system input and output through data streams, serialization and the file system. java.lang Provides classes that are fundamental to the design of the Java programming language. java.lang.annotation Provides library support for the Java programming language annotation facility. java.lang.instrument Provides services that allow Java programming language agents to instrument programs running on the JVM. java.lang.management Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. java.lang.ref Provides reference-object classes, which support a limited degree of interaction with the garbage collector. java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). java.net Provides the classes for implementing networking applications. java.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages. java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, nonblocking I/O operations. java.nio.channels.spi Service-provider classes for the java.nio.channels package. java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. java.nio.charset.spi Service-provider classes for the java.nio.charset package. java.rmi Provides the RMI package. java.rmi.activation Provides support for RMI Object Activation. java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC). java.rmi.registry Provides a class and two interfaces for the RMI registry. java.rmi.server Provides classes and interfaces for supporting the server side of RMI. java.security Provides the classes and interfaces for the security framework. java.security.acl The classes and interfaces in this package have been superseded by classes in the java.security package. java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. java.security.interfaces Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST s FIPS-186. java.security.spec Provides classes and interfaces for key specifications and P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
46 java.applet java.awt java.awt.color java.awt.datatransfer java.awt.dnd java.awt.event java.awt.font java.awt.geom java.awt.im java.awt.im.spi java.awt.image java.awt.image.renderable java.awt.print java.beans java.beans.beancontext java.io java.lang java.lang.annotation java.lang.instrument java.lang.management java.lang.ref java.lang.reflect java.math java.net java.nio java.nio.channels java.nio.channels.spi java.nio.charset Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. Contains all of the classes for creating user interfaces and for painting graphics and images. Provides classes for color spaces. Provides interfaces and classes for transferring data between and within applications. Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. Provides interfaces and classes for dealing with different types of events fired by AWT components. Provides classes and interface relating to fonts. Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. Provides classes and interfaces for the input method framework. Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. Provides classes for creating and modifying images. Provides classes and interfaces for producing renderingindependent images. Provides classes and interfaces for a general printing API. Contains classes related to developing beans components based on the JavaBeansTM architecture. Provides classes and interfaces relating to bean context. Provides for system input and output through data streams, serialization and the file system. Provides classes that are fundamental to the design of the Java programming language. Provides library support for the Java programming language annotation facility. Provides services that allow Java programming language agents to instrument programs running on the JVM. Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. Provides reference-object classes, which support a limited degree of interaction with the garbage collector. Provides classes and interfaces for obtaining reflective information about classes and objects. Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). Provides the classes for implementing networking applications. Defines buffers, which are containers for data, and provides an overview of the other NIO packages. Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, nonblocking I/O operations. Service-provider classes for the java.nio.channels package. Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. java.nio.charset.spi Service-provider classes for the java.nio.charset package. java.rmi Provides the RMI package. java.rmi.activation Provides support for RMI Object Activation. java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC). java.rmi.registry Provides a class and two interfaces for the RMI registry. java.rmi.server Provides classes and interfaces for supporting the server side of RMI. java.security java.security.acl java.security.cert java.security.interfaces java.security.spec java.sql java.text java.text.spi java.util java.util.concurrent java.util.concurrent.atomic java.util.concurrent.locks java.util.jar java.util.logging java.util.prefs java.util.regex java.util.spi java.util.zip javax.accessibility javax.activation javax.activity javax.annotation javax.annotation.processing javax.crypto javax.crypto.interfaces javax.crypto.spec javax.imageio javax.imageio.event javax.imageio.metadata javax.imageio.plugins.bmp javax.imageio.plugins.jpeg javax.imageio.spi javax.imageio.stream javax.jws javax.jws.soap javax.lang.model javax.lang.model.element javax.lang.model.type javax.lang.model.util javax.management Provides the classes and interfaces for the security framework. The classes and interfaces in this package have been superseded by classes in the java.security package. Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST s FIPS-186. Provides classes and interfaces for key specifications and algorithm parameter specifications. Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. Service provider classes for the classes in the java.text package. Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). Utility classes commonly useful in concurrent programming. A small toolkit of classes that support lock-free threadsafe programming on single variables. Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. Provides the classes and interfaces of the JavaTM 2 platform s core logging facilities. This package allows applications to store and retrieve user and system preference and configuration data. Classes for matching character sequences against patterns specified by regular expressions. Service provider classes for the classes in the java.util package. Provides classes for reading and writing the standard ZIP and GZIP file formats. Defines a contract between user-interface components and an assistive technology that provides access to those components. Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling. Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. Provides the classes and interfaces for cryptographic operations. Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories PKCS #3. Provides classes and interfaces for key specifications and algorithm parameter specifications. The main package of the Java Image I/O API. A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images. A package of the Java Image I/O API dealing with reading and writing metadata. Package containing the public classes used by the built-in BMP plug-in. Classes supporting the built-in JPEG plug-in. A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. A package of the Java Image I/O API dealing with lowlevel I/O from files and streams. Classes and hierarchies of packages used to model the Java programming language. Interfaces used to model elements of the Java programming language. Interfaces used to model Java programming language types. Utilities to assist in the processing of program elements and types. Provides the core classes for the Java Management Extensions. javax.management.loading Provides the classes which implement advanced dynamic loading. javax.management.modelmbean Provides the definition of the ModelMBean classes. javax.management.monitor Provides the definition of the monitor classes. javax.management.openmbean Provides the open data types and Open MBean descriptor classes. Java TM Platform, Standard Edition 6 Pakiety P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
47 java.applet java.awt java.awt.color java.awt.datatransfer java.awt.dnd java.awt.event java.awt.font java.awt.geom java.awt.im java.awt.im.spi java.awt.image java.awt.image.renderable java.awt.print java.beans java.beans.beancontext java.io java.lang java.lang.annotation java.lang.instrument java.lang.management java.lang.ref java.lang.reflect java.math java.net java.nio java.nio.channels java.nio.channels.spi java.nio.charset java.nio.charset.spi java.rmi java.rmi.activation Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. Contains all of the classes for creating user interfaces and for painting graphics and images. Provides classes for color spaces. Provides interfaces and classes for transferring data between and within applications. Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. Provides interfaces and classes for dealing with different types of events fired by AWT components. Provides classes and interface relating to fonts. Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. Provides classes and interfaces for the input method framework. Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. Provides classes for creating and modifying images. Provides classes and interfaces for producing renderingindependent images. Provides classes and interfaces for a general printing API. Contains classes related to developing beans components based on the JavaBeansTM architecture. Provides classes and interfaces relating to bean context. Provides for system input and output through data streams, serialization and the file system. Provides classes that are fundamental to the design of the Java programming language. Provides library support for the Java programming language annotation facility. Provides services that allow Java programming language agents to instrument programs running on the JVM. Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. Provides reference-object classes, which support a limited degree of interaction with the garbage collector. Provides classes and interfaces for obtaining reflective information about classes and objects. Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). Provides the classes for implementing networking applications. Defines buffers, which are containers for data, and provides an overview of the other NIO packages. Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, nonblocking I/O operations. Service-provider classes for the java.nio.channels package. Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. Service-provider classes for the java.nio.charset package. Provides the RMI package. Provides support for RMI Object Activation. java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC). java.rmi.registry Provides a class and two interfaces for the RMI registry. java.rmi.server java.security java.security.acl java.security.cert java.security.interfaces java.security.spec java.sql java.text java.text.spi java.util java.util.concurrent java.util.concurrent.atomic java.util.concurrent.locks java.util.jar java.util.logging java.util.prefs java.util.regex java.util.spi java.util.zip javax.accessibility javax.activation javax.activity javax.annotation javax.annotation.processing javax.crypto javax.crypto.interfaces javax.crypto.spec javax.imageio javax.imageio.event javax.imageio.metadata javax.imageio.plugins.bmp javax.imageio.plugins.jpeg javax.imageio.spi javax.imageio.stream javax.jws javax.jws.soap javax.lang.model javax.lang.model.element javax.lang.model.type javax.lang.model.util javax.management javax.management.loading Provides classes and interfaces for supporting the server side of RMI. Provides the classes and interfaces for the security framework. The classes and interfaces in this package have been superseded by classes in the java.security package. Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST s FIPS-186. Provides classes and interfaces for key specifications and algorithm parameter specifications. Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. Service provider classes for the classes in the java.text package. Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). Utility classes commonly useful in concurrent programming. A small toolkit of classes that support lock-free threadsafe programming on single variables. Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. Provides the classes and interfaces of the JavaTM 2 platform s core logging facilities. This package allows applications to store and retrieve user and system preference and configuration data. Classes for matching character sequences against patterns specified by regular expressions. Service provider classes for the classes in the java.util package. Provides classes for reading and writing the standard ZIP and GZIP file formats. Defines a contract between user-interface components and an assistive technology that provides access to those components. Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling. Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. Provides the classes and interfaces for cryptographic operations. Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories PKCS #3. Provides classes and interfaces for key specifications and algorithm parameter specifications. The main package of the Java Image I/O API. A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images. A package of the Java Image I/O API dealing with reading and writing metadata. Package containing the public classes used by the built-in BMP plug-in. Classes supporting the built-in JPEG plug-in. A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. A package of the Java Image I/O API dealing with lowlevel I/O from files and streams. Classes and hierarchies of packages used to model the Java programming language. Interfaces used to model elements of the Java programming language. Interfaces used to model Java programming language types. Utilities to assist in the processing of program elements and types. Provides the core classes for the Java Management Extensions. Provides the classes which implement advanced dynamic loading. javax.management.modelmbean Provides the definition of the ModelMBean classes. javax.management.monitor Provides the definition of the monitor classes. javax.management.openmbean Provides the open data types and Open MBean descriptor javax.management.relation javax.management.remote javax.management.remote.rmi javax.management.timer javax.naming javax.naming.directory javax.naming.event javax.naming.ldap javax.naming.spi javax.net javax.net.ssl javax.print javax.print.attribute javax.print.attribute.standard javax.print.event javax.rmi javax.rmi.corba classes. Provides the definition of the Relation Service. Interfaces for remote access to JMX MBean servers. The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. Provides the definition of the Timer MBean. Provides the classes and interfaces for accessing naming services. Extends the javax.naming package to provide functionality for accessing directory services. Provides support for event notification when accessing naming and directory services. Provides support for LDAPv3 extended operations and controls. Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. Provides classes for networking applications. Provides classes for the secure socket package. Provides the principal classes and interfaces for the JavaTM Print Service API. Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. Package javax.print.attribute.standard contains classes for specific printing attributes. Package javax.print.event contains event classes and listener interfaces. Contains user APIs for RMI-IIOP. Contains portability APIs for RMI-IIOP. javax.rmi.ssl Provides implementations of RMIClientSocketFactory and RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. javax.script javax.security.auth javax.security.auth.callback javax.security.auth.kerberos javax.security.auth.login javax.security.auth.spi javax.security.auth.x500 javax.security.cert javax.security.sasl javax.sound.midi javax.sound.midi.spi javax.sound.sampled javax.sound.sampled.spi javax.sql javax.sql.rowset javax.sql.rowset.serial javax.sql.rowset.spi javax.swing javax.swing.border javax.swing.colorchooser javax.swing.event javax.swing.filechooser javax.swing.plaf javax.swing.plaf.basic javax.swing.plaf.metal javax.swing.plaf.multi javax.swing.plaf.synth javax.swing.table javax.swing.text javax.swing.text.html javax.swing.text.html.parser javax.swing.text.rtf javax.swing.tree javax.swing.undo javax.tools javax.transaction javax.transaction.xa javax.xml javax.xml.bind javax.xml.bind.annotation The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. This package provides a framework for authentication and authorization. This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). This package contains utility classes related to the Kerberos network authentication protocol. This package provides a pluggable authentication framework. This package provides the interface to be used for implementing pluggable authentication modules. This package contains the classes that should be used to store X500 Principal and X500 Private Crendentials in a Subject. Provides classes for public key certificates. Contains class and interfaces for supporting SASL. Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers. Provides interfaces and classes for capture, processing, and playback of sampled audio data. Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters. Provides the API for server side data source access and processing from the JavaTM programming language. Standard interfaces and base classes for JDBC RowSet implementations. Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. Provides a set of łightweight"(all-java language) components that, to the maximum degree possible, work the same on all platforms. Provides classes and interface for drawing specialized borders around a Swing component. Contains classes and interfaces used by the JColorChooser component. Provides for events fired by Swing components. Contains classes and interfaces used by the JFileChooser component. Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. Provides user interface objects built according to the Basic look and feel. Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. Provides user interface objects that combine two or more look and feels. Synth is a skinnable look and feel in which all painting is delegated. Provides classes and interfaces for dealing with javax.swing.jtable. Provides classes and interfaces that deal with editable and noneditable text components. Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. Provides the default HTML parser, along with support classes. Provides a class (RTFEditorKit) for creating Rich-Text- Format text editors. Provides classes and interfaces for dealing with javax.swing.jtree. Allows developers to provide support for undo/redo in applications such as text editors. Provides interfaces for tools which can be invoked from a program, for example, compilers. Contains three exceptions thrown by the ORB machinery during unmarshalling. Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. Defines core XML constants and functionality from the XML specifications. Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. Defines annotations for customizing Java program elements to XML Schema mapping. javax.xml.bind.annotation.adapters XmlAdapter and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB. javax.xml.bind.attachment This package is implemented by a MIME-based package javax.xml.bind.helpers javax.xml.bind.util javax.xml.crypto javax.xml.crypto.dom javax.xml.crypto.dsig javax.xml.crypto.dsig.dom javax.xml.crypto.dsig.keyinfo javax.xml.crypto.dsig.spec javax.xml.datatype javax.xml.namespace javax.xml.parsers javax.xml.soap javax.xml.stream javax.xml.stream.events javax.xml.stream.util javax.xml.transform javax.xml.transform.dom javax.xml.transform.sax javax.xml.transform.stax processor that enables the interpretation and creation of optimized binary data within an MIME-based package format. JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. Useful client utility classes. Common classes for XML cryptography. DOM-specific classes for the javax.xml.crypto package. Classes for generating and validating XML digital signatures. DOM-specific classes for the javax.xml.crypto.dsig package. Classes for parsing and processing KeyInfo elements and structures. Parameter classes for XML digital signatures. XML/Java Type Mappings. XML Namespace processing. Provides classes allowing the processing of XML documents. Provides the API for creating and building SOAP messages. This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. This package implements DOM-specific transformation APIs. This package implements SAX2-specific transformation APIs. Provides for StAX-specific transformation APIs. Java TM Platform, Standard Edition 6 Pakiety P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
48 java.applet java.awt java.awt.color java.awt.datatransfer java.awt.dnd java.awt.event java.awt.font java.awt.geom java.awt.im java.awt.im.spi java.awt.image java.awt.image.renderable java.awt.print java.beans java.beans.beancontext java.io java.lang java.lang.annotation java.lang.instrument java.lang.management java.lang.ref java.lang.reflect java.math java.net java.nio java.nio.channels java.nio.channels.spi java.nio.charset java.nio.charset.spi java.rmi java.rmi.activation Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. Contains all of the classes for creating user interfaces and for painting graphics and images. Provides classes for color spaces. Provides interfaces and classes for transferring data between and within applications. Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. Provides interfaces and classes for dealing with different types of events fired by AWT components. Provides classes and interface relating to fonts. Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. Provides classes and interfaces for the input method framework. Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. Provides classes for creating and modifying images. Provides classes and interfaces for producing renderingindependent images. Provides classes and interfaces for a general printing API. Contains classes related to developing beans components based on the JavaBeansTM architecture. Provides classes and interfaces relating to bean context. Provides for system input and output through data streams, serialization and the file system. Provides classes that are fundamental to the design of the Java programming language. Provides library support for the Java programming language annotation facility. Provides services that allow Java programming language agents to instrument programs running on the JVM. Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. Provides reference-object classes, which support a limited degree of interaction with the garbage collector. Provides classes and interfaces for obtaining reflective information about classes and objects. Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). Provides the classes for implementing networking applications. Defines buffers, which are containers for data, and provides an overview of the other NIO packages. Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, nonblocking I/O operations. Service-provider classes for the java.nio.channels package. Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. Service-provider classes for the java.nio.charset package. Provides the RMI package. Provides support for RMI Object Activation. Java TM Platform, Standard Edition 6 Pakiety java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC). java.rmi.registry Provides a class and two interfaces for the RMI registry. java.rmi.server Provides classes and interfaces for supporting the server side of RMI. java.security Provides the classes and interfaces for the security framework. java.security.acl The classes and interfaces in this package have been superseded by classes in the java.security package. java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. java.security.interfaces Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST s FIPS-186. java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. java.text.spi Service provider classes for the classes in the java.text package. java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). java.util.concurrent Utility classes commonly useful in concurrent programming. java.util.concurrent.atomic A small toolkit of classes that support lock-free threadsafe programming on single variables. java.util.concurrent.locks Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. java.util.logging Provides the classes and interfaces of the JavaTM 2 platform s core logging facilities. java.util.prefs This package allows applications to store and retrieve user and system preference and configuration data. java.util.regex Classes for matching character sequences against patterns specified by regular expressions. java.util.spi Service provider classes for the classes in the java.util package. java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats. javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components. javax.activation javax.activity Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling. javax.annotation javax.annotation.processing Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. javax.crypto Provides the classes and interfaces for cryptographic operations. javax.crypto.interfaces Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories PKCS #3. javax.crypto.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. javax.imageio The main package of the Java Image I/O API. javax.imageio.event A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images. javax.imageio.metadata A package of the Java Image I/O API dealing with reading and writing metadata. javax.imageio.plugins.bmp Package containing the public classes used by the built-in BMP plug-in. javax.imageio.plugins.jpeg Classes supporting the built-in JPEG plug-in. javax.imageio.spi A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. javax.imageio.stream A package of the Java Image I/O API dealing with lowlevel I/O from files and streams. javax.jws javax.jws.soap javax.lang.model Classes and hierarchies of packages used to model the Java programming language. javax.lang.model.element Interfaces used to model elements of the Java programming language. javax.lang.model.type Interfaces used to model Java programming language types. javax.lang.model.util Utilities to assist in the processing of program elements and types. javax.management Provides the core classes for the Java Management Extensions. javax.management.loading Provides the classes which implement advanced dynamic loading. javax.management.modelmbean Provides the definition of the ModelMBean classes. javax.management.monitor Provides the definition of the monitor classes. javax.management.openmbean Provides the open data types and Open MBean descriptor classes. javax.management.relation Provides the definition of the Relation Service. javax.management.remote Interfaces for remote access to JMX MBean servers. javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. javax.management.timer Provides the definition of the Timer MBean. javax.naming Provides the classes and interfaces for accessing naming services. javax.naming.directory Extends the javax.naming package to provide functionality for accessing directory services. javax.naming.event Provides support for event notification when accessing naming and directory services. javax.naming.ldap Provides support for LDAPv3 extended operations and controls. javax.naming.spi Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. javax.net Provides classes for networking applications. javax.net.ssl Provides classes for the secure socket package. javax.print Provides the principal classes and interfaces for the JavaTM Print Service API. javax.print.attribute Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. javax.print.attribute.standard Package javax.print.attribute.standard contains classes for specific printing attributes. javax.print.event Package javax.print.event contains event classes and listener interfaces. javax.rmi Contains user APIs for RMI-IIOP. javax.rmi.corba Contains portability APIs for RMI-IIOP. javax.rmi.ssl Provides implementations of RMIClientSocketFactory and RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. javax.script The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. javax.security.auth This package provides a framework for authentication and authorization. javax.security.auth.callback This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). javax.security.auth.kerberos This package contains utility classes related to the Kerberos network authentication protocol. javax.security.auth.login This package provides a pluggable authentication framework. javax.security.auth.spi This package provides the interface to be used for implementing pluggable authentication modules. javax.security.auth.x500 This package contains the classes that should be used to store X500 Principal and X500 Private Crendentials in a Subject. javax.security.cert Provides classes for public key certificates. javax.security.sasl Contains class and interfaces for supporting SASL. javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. javax.sound.midi.spi Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers. javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data. javax.sound.sampled.spi Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters. javax.sql Provides the API for server side data source access and processing from the JavaTM programming language. javax.sql.rowset Standard interfaces and base classes for JDBC RowSet implementations. javax.sql.rowset.serial Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. javax.sql.rowset.spi The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. javax.swing Provides a set of łightweight"(all-java language) components that, to the maximum degree possible, work the same on all platforms. javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component. javax.swing.colorchooser Contains classes and interfaces used by the JColorChooser component. javax.swing.event Provides for events fired by Swing components. javax.swing.filechooser Contains classes and interfaces used by the JFileChooser component. javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. javax.swing.plaf.multi Provides user interface objects that combine two or more look and feels. javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated. javax.swing.table Provides classes and interfaces for dealing with javax.swing.jtable. javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. javax.swing.text.html.parser Provides the default HTML parser, along with support classes. javax.swing.text.rtf Provides a class (RTFEditorKit) for creating Rich-Text- Format text editors. javax.swing.tree Provides classes and interfaces for dealing with javax.swing.jtree. javax.swing.undo Allows developers to provide support for undo/redo in applications such as text editors. javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers. javax.transaction Contains three exceptions thrown by the ORB machinery during unmarshalling. javax.transaction.xa Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. javax.xml Defines core XML constants and functionality from the XML specifications. javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. javax.xml.bind.annotation Defines annotations for customizing Java program elements to XML Schema mapping. javax.xml.bind.annotation.adapters XmlAdapter and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB. javax.xml.bind.attachment This package is implemented by a MIME-based package processor that enables the interpretation and creation of optimized binary data within an MIME-based package format. javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. javax.xml.bind.util Useful client utility classes. javax.xml.crypto Common classes for XML cryptography. javax.xml.crypto.dom DOM-specific classes for the javax.xml.crypto package. javax.xml.crypto.dsig Classes for generating and validating XML digital signatures. javax.xml.crypto.dsig.dom DOM-specific classes for the javax.xml.crypto.dsig package. javax.xml.crypto.dsig.keyinfo Classes for parsing and processing KeyInfo elements and structures. javax.xml.crypto.dsig.spec Parameter classes for XML digital signatures. javax.xml.datatype XML/Java Type Mappings. javax.xml.namespace XML Namespace processing. javax.xml.parsers Provides classes allowing the processing of XML documents. javax.xml.soap Provides the API for creating and building SOAP messages. javax.xml.stream javax.xml.stream.events javax.xml.stream.util javax.xml.transform This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. javax.xml.transform.dom This package implements DOM-specific transformation APIs. javax.xml.transform.sax This package implements SAX2-specific transformation APIs. javax.xml.transform.stax Provides for StAX-specific transformation APIs. javax.xml.transform.stream This package implements stream- and URI- specific transformation APIs. javax.xml.validation This package provides an API for validation of XML documents. javax.xml.ws This package contains the core JAX-WS APIs. javax.xml.ws.handler This package defines APIs for message handlers. javax.xml.ws.handler.soap This package defines APIs for SOAP message handlers. javax.xml.ws.http This package defines APIs specific to the HTTP binding. javax.xml.ws.soap This package defines APIs specific to the SOAP binding. javax.xml.ws.spi This package defines SPIs for JAX-WS. javax.xml.ws.wsaddressing This package defines APIs related to WS-Addressing. javax.xml.xpath This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. org.ietf.jgss This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API. org.omg.corba Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). org.omg.corba_2_3 The CORBA_2_3 package defines additions to existing CORBA interfaces in the Java[tm] Standard Edition 6. These changes occurred in recent revisions to the CORBA API defined by the OMG. The new methods were added to interfaces derived from the corresponding interfaces in the CORBA package. This provides backward compatibility and avoids breaking the JCK tests. org.omg.corba_2_3.portable Provides methods for the input and output of value types, and contains other updates to the org/omg/corba/portable package. org.omg.corba.dynanypackageprovides the exceptions used with the DynAny interface (InvalidValue, Invalid, InvalidSeq, and TypeMismatch). org.omg.corba.orbpackage Provides the exception InvalidName, which is thrown by the method ORB.resolve_initial_references and the exception InconsistentTypeCode, which is thrown by the Dynamic Any creation methods in the ORB class. org.omg.corba.portable Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor s ORB. org.omg.corba.typecodepackage Provides the user-defined exceptions BadKind and Bounds, which are thrown by methods in in the class Type- Code. org.omg.cosnaming Provides a naming service for Java IDL. org.omg.cosnaming.namingcontextextpackage This package contains the following classes, which are used in org.omg.cosnaming.namingcontextext: org.omg.cosnaming.namingcontextpackage This package contains Exception classes for the org.omg.cosnaming package. org.omg.dynamic This package contains the Dynamic module specified in the OMG Portable Interceptor specification, section org.omg.dynamicany Provides classes and interfaces that enable traversal of the data value associated with an any at runtime, and extraction of the primitive constituents of the data value. org.omg.dynamicany.dynanyfactorypackage This package contains classes and exceptions from the DynAnyFactory interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, cgi-bin/doc?formal/ , section org.omg.dynamicany.dynanypackage This package contains classes and exceptions from the DynAny interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, doc?formal/ , section 9.2. org.omg.iop This package contains the IOP module specified in the OMG document The Common Object Request Broker: Architecture and Specification, cgi-bin/doc?formal/ , section org.omg.iop.codecfactorypackage This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec). org.omg.iop.codecpackage This package is generated from the IOP::Codec IDL interface definition. org.omg.messaging This package contains the Messaging module specified in the OMG CORBA Messaging specification, omg.org/cgi-bin/doc?formal/ org.omg.portableinterceptor Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB. org.omg.portableinterceptor.orbinitinfopackage This package contains the exceptions and typedefs from the ORBInitInfo local interface of the PortableInterceptor module specified in the OMG Portable Interceptor specification, ptc/ , section org.omg.portableserver Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. org.omg.portableserver.currentpackage Provides method implementations with access to the identity of the object on which the method was invoked. org.omg.portableserver.poamanagerpackage Encapsulates the processing state of the POAs it is associated with. org.omg.portableserver.poapackage Allows programmers to construct object implementations that are portable between different ORB products. org.omg.portableserver.portable Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. org.omg.portableserver.servantlocatorpackage Provides classes and interfaces for locating the servant. org.omg.sendingcontext Provides support for the marshalling of value types. org.omg.stub.java.rmi Contains RMI-IIOP Stubs for the Remote types that occur in the java.rmi package. org.w3c.dom Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing. org.w3c.dom.bootstrap org.w3c.dom.events org.w3c.dom.ls org.xml.sax This package provides the core SAX APIs. org.xml.sax.ext This package contains interfaces to SAX2 facilities that conformant SAX drivers won t necessarily support. org.xml.sax.helpers This package contains "helperćlasses, including support for bootstrapping SAX-based applications. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
49 Wzorce projektowe Sformułowanie wyważone Użyteczność wzorców projektowych zależy od języka programowania. Sformułowanie radykalne Wzorce projektowe służą do maskowania niedoskonałości języka. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
50 Wzorce projektowe c.d. Singleton W Pythonie można zastosować moduł. Strategy W Pythonie można posługiwać się funkcjami. Factory W Pythonie można zdefiniować metode new. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
51 Klasy i dziedziczenie Przynależność do klasy może oznaczać: W Javie przynależność do zbioru, posiadanie konkretnych odpowiedzialności. Dla każdego rodzaju parametrów metody musi istnieć klasa (lub interfejs), który go opisuje. Występuje konieczność definiowania klas czysto abstrakcyjnych (ang. pure abstract class). W Pythonie Klasy definiuje się wtedy, gdy można zdefiniować ich metody. Może występować konieczność definiowania owijaczy (ang. wrappers), aby ukryć typ obiektu owijanego. P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
52 Dziedziczenie vs. składanie Klasę posiadającą funkcjonalność (lub część funkcjonalności) innej można realizować przy pomocy: dziedziczenia składania Dziedziczenie dziedziczone jest wszystko (nie należy ograniczać) tylko jedna nadklasa (albo wielodziedziczenie) podstawialność (Czy w każdym miejscu, gdzie akceptowana jest instancja nadklasy, można podać instancję podklasy?) Składanie elementy składowej trzeba ręcznie eksponować dowolnie wiele składowych brak podstawialności (bo nie ma dziedziczenia) P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
53 Formalna poprawność programów Dzięki typowaniu statycznemu na etapie kompilacji można wykryć szereg błędów: odwołanie do nieistniejącej metody (lub atrybutu) literówki błędy logiczne polegające na użyciu obiektu niewłaściwego typu niewłaściwą liczbę argumentów funkcji/metody P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
54 Względy praktyczne Nie ma jednego najlepszego języka programowania. Kryteria swoboda projektowania vs. możliwość formalnej weryfikacji poprawności rozwiązania dostosowane do problemu vs. standardowe wzorce/praktyki możliwość stosowania trudnych i silnych konstrukcji vs. kod łatwy z rozumieniu i utrzymaniu błędy wykonania vs. błędy kompilacji łatwość prototypowania konieczność obchodzenia ograniczeń języka możliwość stosowania dziwnych i niebezpiecznych rozwiązań ad hoc P. Daniluk(Wydział Fizyki) PO w. XIII Jesień / 51
Technische Berichte des Hasso-Plattner-Instituts
HASSO - PLATTNER - INSTITUT für Softwaresystemtechnik an der Universität Potsdam Java Language Conversion Assistant An Analysis Stefan Richter Stefan Henze Eiko Büttner Steffen Bach Andreas Polze (eds.)
Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner
1 vk» Java 7 Recipes (,\['«** - < g!p#«josh Juneau Carl Dea Freddy Guime John O'Conner Contents J Contents at a Glance About the Authors About the Technical Reviewers Acknowledgments Introduction iv xvi
2 Categories of Constraints
Categories of Constraints In an attempt to find out what kind of constraints are typical for object-oriented libraries and application frameworks, we have searched the Java. API documentation [Sun Microsystems,
JAVA IN A NUTSHELL O'REILLY. David Flanagan. Fifth Edition. Beijing Cambridge Farnham Köln Sebastopol Tokyo
JAVA 1i IN A NUTSHELL Fifth Edition David Flanagan O'REILLY Beijing Cambridge Farnham Köln Sebastopol Tokyo Table of Contents Preface xvii Part 1. Introducing Java 1. Introduction 1 What 1s Java? 1 The
An Overview of Java. overview-1
An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2
JAVA r VOLUME II-ADVANCED FEATURES. e^i v it;
..ui. : ' :>' JAVA r VOLUME II-ADVANCED FEATURES EIGHTH EDITION 'r.", -*U'.- I' -J L."'.!'.;._ ii-.ni CAY S. HORSTMANN GARY CORNELL It.. 1 rlli!>*-
JAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition.
"( JAVA. EXAMPLES IN A NUTSHELL Third Edition David Flanagan O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Preface xi Parti. Learning Java 1. Java Basics 3 Hello
JAVA 2 Network Security
JAVA 2 Network Security M A R C O PISTOIA DUANE F. RELLER DEEPAK GUPTA MILIND NAGNUR ASHOK K. RAMANI PTR, UPPER http://www.phptr.com PRENTICE HALL SADDLE RIVER, NEW JERSEY 07458 Contents Foreword Preface
Fundamentals of Java Programming
Fundamentals of Java Programming This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and exclusive use by instructors
The Abstract Windowing Toolkit. Java Foundation Classes. Swing. In April 1997, JavaSoft announced the Java Foundation Classes (JFC).
The Abstract Windowing Toolkit Since Java was first released, its user interface facilities have been a significant weakness The Abstract Windowing Toolkit (AWT) was part of the JDK form the beginning,
Java Interview Questions and Answers
1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java
WebSphere Training Outline
WEBSPHERE TRAINING WebSphere Training Outline WebSphere Platform Overview o WebSphere Product Categories o WebSphere Development, Presentation, Integration and Deployment Tools o WebSphere Application
Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java
Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java Oxford University Press 2007. All rights reserved. 1 C and C++ C and C++ with in-line-assembly, Visual Basic, and Visual C++ the
Java (12 Weeks) Introduction to Java Programming Language
Java (12 Weeks) Topic Lecture No. Introduction to Java Programming Language 1 An Introduction to Java o Java as a Programming Platform, The Java "White Paper" Buzzwords, Java and the Internet, A Short
Oracle WebLogic Server 11g Administration
Oracle WebLogic Server 11g Administration This course is designed to provide instruction and hands-on practice in installing and configuring Oracle WebLogic Server 11g. These tasks include starting and
www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk
CS506 Web Design and Development Solved Online Quiz No. 01 Which of the following is a general purpose container? JFrame Dialog JPanel JApplet Which of the following package needs to be import while handling
core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt
core. 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Volume I - Fundamentals Seventh Edition CAY S. HORSTMANN GARY
CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS
CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS Java EE Components Java EE Vendor Specifications Containers Java EE Blueprint Services JDBC Data Sources Java Naming and Directory Interface Java Message
ODBC Client Driver Help. 2015 Kepware, Inc.
2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 4 Overview 4 External Dependencies 4 Driver Setup 5 Data Source Settings 5 Data Source Setup 6 Data Source Access Methods 13 Fixed Table 14 Table
Computing Concepts with Java Essentials
2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann
Lecture 9: Application of Cryptography
Lecture topics Cryptography basics Using SSL to secure communication links in J2EE programs Programmatic use of cryptography in Java Cryptography basics Encryption Transformation of data into a form that
Java Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
Onset Computer Corporation
Onset, HOBO, and HOBOlink are trademarks or registered trademarks of Onset Computer Corporation for its data logger products and configuration/interface software. All other trademarks are the property
The Sun Certified Associate for the Java Platform, Standard Edition, Exam Version 1.0
The following applies to all exams: Once exam vouchers are purchased you have up to one year from the date of purchase to use it. Each voucher is valid for one exam and may only be used at an Authorized
DC60 JAVA AND WEB PROGRAMMING JUNE 2014. b. Explain the meaning of the following statement public static void main (string args [ ] )
Q.2 a. How does Java differ from C and C++? Page 16 of Text Book 1 b. Explain the meaning of the following statement public static void main (string args [ ] ) Page 26 of Text Book 1 Q.3 a. What are the
How To Write A Program For The Web In Java (Java)
21 Applets and Web Programming As noted in Chapter 2, although Java is a general purpose programming language that can be used to create almost any type of computer program, much of the excitement surrounding
The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala 2.5.30, as well as the version history.
Cloudera ODBC Driver for Impala 2.5.30 The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala 2.5.30, as well as the version history. The following are highlights
WebSphere Server Administration Course
WebSphere Server Administration Course Chapter 1. Java EE and WebSphere Overview Goals of Enterprise Applications What is Java? What is Java EE? The Java EE Specifications Role of Application Server What
IBM WebSphere Server Administration
IBM WebSphere Server Administration This course teaches the administration and deployment of web applications in the IBM WebSphere Application Server. Duration 24 hours Course Objectives Upon completion
Client-Server Architecture & J2EE Platform Technologies Overview Ahmed K. Ezzat
Client-Server Architecture & J2EE Platform Technologies Overview Ahmed K. Ezzat Page 1 of 14 Roadmap Client-Server Architecture Introduction Two-tier Architecture Three-tier Architecture The MVC Architecture
Extreme Java G22.3033-006. Session 3 Main Theme Java Core Technologies (Part I) Dr. Jean-Claude Franchitti
Extreme Java G22.3033-006 Session 3 Main Theme Java Core Technologies (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Agenda
Java the UML Way: Integrating Object-Oriented Design and Programming
Java the UML Way: Integrating Object-Oriented Design and Programming by Else Lervik and Vegard B. Havdal ISBN 0-470-84386-1 John Wiley & Sons, Ltd. Table of Contents Preface xi 1 Introduction 1 1.1 Preliminaries
Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5
Course Page - Page 1 of 5 WebSphere Application Server 7.0 Administration on Windows BSP-1700 Length: 5 days Price: $ 2,895.00 Course Description This course teaches the basics of the administration and
Habanero Extreme Scale Software Research Project
Habanero Extreme Scale Software Research Project Comp215: Java Method Dispatch Zoran Budimlić (Rice University) Always remember that you are absolutely unique. Just like everyone else. - Margaret Mead
StreamServe Persuasion SP5 StreamStudio
StreamServe Persuasion SP5 StreamStudio Administrator s Guide Rev B StreamServe Persuasion SP5 StreamStudio Administrator s Guide Rev B OPEN TEXT CORPORATION ALL RIGHTS RESERVED United States and other
Getting Started with the Internet Communications Engine
Getting Started with the Internet Communications Engine David Vriezen April 7, 2014 Contents 1 Introduction 2 2 About Ice 2 2.1 Proxies................................. 2 3 Setting Up ICE 2 4 Slices 2
::. Contenuti della lezione *+ ') $ &,!!!$!-,.../- ' % + &
! ""# ::. Contenuti della lezione $%&' % ('))')') *+ ') $ &,!!!$!-,.../- ' % + & ::. Le diverse edizioni di Java: J2EE,J2SE,J2ME!" # " $ ::. Le diverse edizioni di Java: J2EE,J2SE,J2ME % & ' () * +, (
Applets, RMI, JDBC Exam Review
Applets, RMI, JDBC Exam Review Sara Sprenkle Announcements Quiz today Project 2 due tomorrow Exam on Thursday Web programming CPM and servlets vs JSPs Sara Sprenkle - CISC370 2 1 Division of Labor Java
Wstęp do programowania w języku PHP
Wstęp do programowania w języku PHP Programowanie obiektowe PHP OOP O czym jest ta prezentacja wstęp do programowania obiektowego cechy języka php przestrzenie nazw composer automatyczne ładowanie klas
Crash Course in Java
Crash Course in Java Based on notes from D. Hollinger Based in part on notes from J.J. Johns also: Java in a Nutshell Java Network Programming and Distributed Computing Netprog 2002 Java Intro 1 What is
DIPLOMADO DE JAVA - OCA
DIPLOMADO DE JAVA - OCA TABLA DE CONTENIDO INTRODUCCION... 3 ESTRUCTURA DEL DIPLOMADO... 4 Nivel I:... 4 Fundamentals of the Java Programming Language Java SE 7... 4 Introducing the Java Technology...
EJB & J2EE. Component Technology with thanks to Jim Dowling. Components. Problems with Previous Paradigms. What EJB Accomplishes
University of Dublin Trinity College EJB & J2EE Component Technology with thanks to Jim Dowling The Need for Component-Based Technologies The following distributed computing development paradigms have
Tutorial Reference Manual. Java WireFusion 4.1
Tutorial Reference Manual Java WireFusion 4.1 Contents INTRODUCTION...1 About this Manual...2 REQUIREMENTS...3 User Requirements...3 System Requirements...3 SHORTCUTS...4 DEVELOPMENT ENVIRONMENT...5 Menu
StreamServe Persuasion SP4 Service Broker
StreamServe Persuasion SP4 Service Broker User Guide Rev A StreamServe Persuasion SP4 Service Broker User Guide Rev A 2001-2009 STREAMSERVE, INC. ALL RIGHTS RESERVED United States patent #7,127,520 No
DRAFT Standard Statement Encryption
DRAFT Standard Statement Encryption Title: Encryption Standard Document Number: SS-70-006 Effective Date: x/x/2010 Published by: Department of Information Systems 1. Purpose Sensitive information held
Design Notes for an Efficient Password-Authenticated Key Exchange Implementation Using Human-Memorable Passwords
Design Notes for an Efficient Password-Authenticated Key Exchange Implementation Using Human-Memorable Passwords Author: Paul Seymer CMSC498a Contents 1 Background... 2 1.1 HTTP 1.0/1.1... 2 1.2 Password
Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.
Handout 1 CS603 Object-Oriented Programming Fall 15 Page 1 of 11 Handout 1 Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Java
Java SE 8 - Java Technologie Update
Java SE 8 - Java Technologie Update Wolfgang Weigend Sen. Leitender Systemberater Java Technologie und Architektur 1 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Disclaimer The following
Chapter 2 Introduction to Java programming
Chapter 2 Introduction to Java programming 1 Keywords boolean if interface class true char else package volatile false byte final switch while throws float private case return native void protected break
IT6503 WEB PROGRAMMING. Unit-I
Handled By, VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603203. Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Mr. K. Ravindran, A.P(Sr.G)
vcenter Orchestrator Developer's Guide
vcenter Orchestrator 4.0 EN-000129-02 You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product
MD Link Integration. 2013 2015 MDI Solutions Limited
MD Link Integration 2013 2015 MDI Solutions Limited Table of Contents THE MD LINK INTEGRATION STRATEGY...3 JAVA TECHNOLOGY FOR PORTABILITY, COMPATIBILITY AND SECURITY...3 LEVERAGE XML TECHNOLOGY FOR INDUSTRY
About This Document 3. Integration and Automation Capabilities 4. Command-Line Interface (CLI) 8. API RPC Protocol 9.
Parallels Panel Contents About This Document 3 Integration and Automation Capabilities 4 Command-Line Interface (CLI) 8 API RPC Protocol 9 Event Handlers 11 Panel Notifications 13 APS Packages 14 C H A
Replaceable Components and the Service Provider Interface
Replaceable Components and the Service Provider Interface Robert Seacord Lutz Wrage July 2002 COTS-Based Systems Technical Note CMU/SEI-2002-TN-009 Unlimited distribution subject to the copyright. The
3.5. cmsg Developer s Guide. Data Acquisition Group JEFFERSON LAB. Version
Version 3.5 JEFFERSON LAB Data Acquisition Group cmsg Developer s Guide J E F F E R S O N L A B D A T A A C Q U I S I T I O N G R O U P cmsg Developer s Guide Elliott Wolin [email protected] Carl Timmer [email protected]
Enterprise Java. Where, How, When (and When Not) to Apply Java in Client/Server Business Environments. Jeffrey Savit Sean Wilcox Bhuvana Jayaraman
Enterprise Java Where, How, When (and When Not) to Apply Java in Client/Server Business Environments Jeffrey Savit Sean Wilcox Bhuvana Jayaraman McGraw-Hill j New York San Francisco Washington, D.C. Auckland
enterprise^ IBM WebSphere Application Server v7.0 Security "publishing Secure your WebSphere applications with Java EE and JAAS security standards
IBM WebSphere Application Server v7.0 Security Secure your WebSphere applications with Java EE and JAAS security standards Omar Siliceo "publishing enterprise^ birmingham - mumbai Preface 1 Chapter 1:
Java Programming Fundamentals
Lecture 1 Part I Java Programming Fundamentals Topics in Quantitative Finance: Numerical Solutions of Partial Differential Equations Instructor: Iraj Kani Introduction to Java We start by making a few
When the transport layer tries to establish a connection with the server, it is blocked by the firewall. When this happens, the RMI transport layer
Firewall Issues Firewalls are inevitably encountered by any networked enterprise application that has to operate beyond the sheltering confines of an Intranet Typically, firewalls block all network traffic,
A Java-based system support for distributed applications on the Internet
A Java-based system support for distributed applications on the Internet D. Hagimont 1, D. Louvegnies 2 SIRAC Project INRIA, 655 av. de l Europe, 38330 Montbonnot Saint-Martin, France Abstract: We have
FEATURE COMPARISON BETWEEN WINDOWS SERVER UPDATE SERVICES AND SHAVLIK HFNETCHKPRO
FEATURE COMPARISON BETWEEN WINDOWS SERVER UPDATE SERVICES AND SHAVLIK HFNETCHKPRO Copyright 2005 Shavlik Technologies. All rights reserved. No part of this document may be reproduced or retransmitted in
Generating Automated Test Scripts for AltioLive using QF Test
Generating Automated Test Scripts for AltioLive using QF Test Author: Maryam Umar Contents 1. Introduction 2 2. Setting up QF Test 2 3. Starting an Altio application 3 4. Recording components 5 5. Performing
Enterprise Application Development Using UML, Java Technology and XML
Enterprise Application Development Using UML, Java Technology and XML Will Howery CTO Passage Software LLC 1 Introduction Effective management and modeling of enterprise applications Web and business-to-business
Windows PowerShell Cookbook
Windows PowerShell Cookbook Lee Holmes O'REILLY' Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Foreword Preface xvii xxi Part I. Tour A Guided Tour of Windows PowerShell
Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition
Java 6 'th edition Concepts INTERNATIONAL STUDENT VERSION CONTENTS PREFACE vii SPECIAL FEATURES xxviii chapter i INTRODUCTION 1 1.1 What Is Programming? 2 J.2 The Anatomy of a Computer 3 1.3 Translating
Glassfish, JAVA EE, Servlets, JSP, EJB
Glassfish, JAVA EE, Servlets, JSP, EJB Java platform A Java platform comprises the JVM together with supporting class libraries. Java 2 Standard Edition (J2SE) (1999) provides core libraries for data structures,
JAXB Tips and Tricks Part 2 Generating Java Classes from XML Schema. By Rob Ratcliff
JAXB Tips and Tricks Part 2 Generating Java Classes from XML Schema By Rob Ratcliff What is JAXB? Java Architecture for XML Binding Maps an XML Schema into Java Objects Experimental support for DTD, RelaxNG
C#5.0 IN A NUTSHELL. Joseph O'REILLY. Albahari and Ben Albahari. Fifth Edition. Tokyo. Sebastopol. Beijing. Cambridge. Koln.
Koln C#5.0 IN A NUTSHELL Fifth Edition Joseph Albahari and Ben Albahari O'REILLY Beijing Cambridge Farnham Sebastopol Tokyo Table of Contents Preface xi 1. Introducing C# and the.net Framework 1 Object
webmethods Certificate Toolkit
Title Page webmethods Certificate Toolkit User s Guide Version 7.1.1 January 2008 webmethods Copyright & Document ID This document applies to webmethods Certificate Toolkit Version 7.1.1 and to all subsequent
Sun Microsystems Inc. Java Transaction Service (JTS)
Sun Microsystems Inc. Java Transaction Service (JTS) This is a draft specification for Java Transaction Service (JTS). JTS specifies the implementation of a transaction manager which supports the JTA specification
To Java SE 8, and Beyond (Plan B)
11-12-13 To Java SE 8, and Beyond (Plan B) Francisco Morero Peyrona EMEA Java Community Leader 8 9...2012 2020? Priorities for the Java Platforms Grow Developer Base Grow Adoption
Object-Oriented Design Lecture 4 CSU 370 Fall 2007 (Pucella) Tuesday, Sep 18, 2007
Object-Oriented Design Lecture 4 CSU 370 Fall 2007 (Pucella) Tuesday, Sep 18, 2007 The Java Type System By now, you have seen a fair amount of Java. Time to study in more depth the foundations of the language,
Elements of Advanced Java Programming
Appendix A Elements of Advanced Java Programming Objectives At the end of this appendix, you should be able to: Understand two-tier and three-tier architectures for distributed computing Understand the
The end. Carl Nettelblad 2015-06-04
The end Carl Nettelblad 2015-06-04 The exam and end of the course Don t forget the course evaluation! Closing tomorrow, Friday Project upload deadline tonight Book presentation appointments with Kalyan
FIPS 140-2 Security Policy LogRhythm 6.0.4 Log Manager
FIPS 140-2 Security Policy LogRhythm 6.0.4 Log Manager LogRhythm 3195 Sterling Circle, Suite 100 Boulder CO, 80301 USA September 17, 2012 Document Version 1.0 Module Version 6.0.4 Page 1 of 23 Copyright
Core Java+ J2EE+Struts+Hibernate+Spring
Core Java+ J2EE+Struts+Hibernate+Spring Java technology is a portfolio of products that are based on the power of networks and the idea that the same software should run on many different kinds of systems
Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON
Revista Informatica Economică, nr. 4 (44)/2007 45 Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON Iulian ILIE-NEMEDI, Bucharest, Romania, [email protected] Writing a custom web
Specialized Programme on Web Application Development using Open Source Tools
Specialized Programme on Web Application Development using Open Source Tools A. NAME OF INSTITUTE Centre For Development of Advanced Computing B. NAME/TITLE OF THE COURSE C. COURSE DATES WITH DURATION
LabVIEW Internet Toolkit User Guide
LabVIEW Internet Toolkit User Guide Version 6.0 Contents The LabVIEW Internet Toolkit provides you with the ability to incorporate Internet capabilities into VIs. You can use LabVIEW to work with XML documents,
Java EE 7: Back-End Server Application Development
Oracle University Contact Us: 01-800-913-0322 Java EE 7: Back-End Server Application Development Duration: 5 Days What you will learn The Java EE 7: Back-End Server Application Development training teaches
Services. Relational. Databases & JDBC. Today. Relational. Databases SQL JDBC. Next Time. Services. Relational. Databases & JDBC. Today.
& & 1 & 2 Lecture #7 2008 3 Terminology Structure & & Database server software referred to as Database Management Systems (DBMS) Database schemas describe database structure Data ordered in tables, rows
Building Web Applications, Servlets, JSP and JDBC
Building Web Applications, Servlets, JSP and JDBC Overview Java 2 Enterprise Edition (JEE) is a powerful platform for building web applications. The JEE platform offers all the advantages of developing
The Java Logging API and Lumberjack
The Java Logging API and Lumberjack Please Turn off audible ringing of cell phones/pagers Take calls/pages outside About this talk Discusses the Java Logging API Discusses Lumberjack Does not discuss log4j
Cache Configuration Reference
Sitecore CMS 6.2 Cache Configuration Reference Rev: 2009-11-20 Sitecore CMS 6.2 Cache Configuration Reference Tips and Techniques for Administrators and Developers Table of Contents Chapter 1 Introduction...
Configuring Secure Socket Layer and Client-Certificate Authentication on SAS 9.3 Enterprise BI Server Systems That Use Oracle WebLogic 10.
Configuring Secure Socket Layer and Client-Certificate Authentication on SAS 9.3 Enterprise BI Server Systems That Use Oracle WebLogic 10.3 Table of Contents Overview... 1 Configuring One-Way Secure Socket
Logging in Java Applications
Logging in Java Applications Logging provides a way to capture information about the operation of an application. Once captured, the information can be used for many purposes, but it is particularly useful
No.1 IT Online training institute from Hyderabad Email: [email protected] URL: sriramtechnologies.com
I. Basics 1. What is Application Server 2. The need for an Application Server 3. Java Application Solution Architecture 4. 3-tier architecture 5. Various commercial products in 3-tiers 6. The logic behind
Java SE 7 Programming
Java SE 7 Programming The second of two courses that cover the Java Standard Edition 7 (Java SE 7) Platform, this course covers the core Application Programming Interfaces (API) you will use to design
What is ODBC? Database Connectivity ODBC, JDBC and SQLJ. ODBC Architecture. More on ODBC. JDBC vs ODBC. What is JDBC?
What is ODBC? Database Connectivity ODBC, JDBC and SQLJ CS2312 ODBC is (Open Database Connectivity): A standard or open application programming interface (API) for accessing a database. SQL Access Group,
User Application: Design Guide
www.novell.com/documentation User Application: Design Guide Designer for Identity Manager Roles Based Provisioning Tools 4.0.2 June 15, 2012 Legal Notices Novell, Inc. makes no representations or warranties
Middleware Lou Somers
Middleware Lou Somers April 18, 2002 1 Contents Overview Definition, goals, requirements Four categories of middleware Transactional, message oriented, procedural, object Middleware examples XML-RPC, SOAP,
A generic framework for game development
A generic framework for game development Michael Haller FH Hagenberg (MTD) AUSTRIA [email protected] Werner Hartmann FAW, University of Linz AUSTRIA [email protected] Jürgen Zauner FH
Chapter 4. Architecture. Table of Contents. J2EE Technology Application Servers. Application Models
Table of Contents J2EE Technology Application Servers... 1 ArchitecturalOverview...2 Server Process Interactions... 4 JDBC Support and Connection Pooling... 4 CMPSupport...5 JMSSupport...6 CORBA ORB Support...
MarkLogic Server. Java Application Developer s Guide. MarkLogic 8 February, 2015. Copyright 2015 MarkLogic Corporation. All rights reserved.
Java Application Developer s Guide 1 MarkLogic 8 February, 2015 Last Revised: 8.0-3, June, 2015 Copyright 2015 MarkLogic Corporation. All rights reserved. Table of Contents Table of Contents Java Application
FTP Client Engine Library for Visual dbase. Programmer's Manual
FTP Client Engine Library for Visual dbase Programmer's Manual (FCE4DB) Version 3.3 May 6, 2014 This software is provided as-is. There are no warranties, expressed or implied. MarshallSoft Computing, Inc.
Classes and Objects. Agenda. Quiz 7/1/2008. The Background of the Object-Oriented Approach. Class. Object. Package and import
Classes and Objects 2 4 pm Tuesday 7/1/2008 @JD2211 1 Agenda The Background of the Object-Oriented Approach Class Object Package and import 2 Quiz Who was the oldest profession in the world? 1. Physician
LICENSE4J LICENSE MANAGER USER GUIDE
LICENSE4J LICENSE MANAGER USER GUIDE VERSION 4.5.5 LICENSE4J www.license4j.com Table of Contents Getting Started... 4 Managing Products... 6 Create Product... 6 Edit Product... 7 Refresh, Delete Product...
Integrating VoltDB with Hadoop
The NewSQL database you ll never outgrow Integrating with Hadoop Hadoop is an open source framework for managing and manipulating massive volumes of data. is an database for handling high velocity data.
