By Harvey M. Deitel, Paul J. Deitel, Sean E. Santry
Первая часть книги посвящена созданию графического пользовательского интерфейса, двухмерной и трехмерной графике, компонентам Java Beans, взаимодействию с базами данных, вопросам обеспечения безопасности.
Вторая часть книги посвящена распределенным приложениям и на примерах знакомит с технологиями построения распределенных систем а также управления сетями: distant procedure Invocation (RMI), Jini, JavaSpaces, Java administration Extensions (JMX), Jiro и построению гетерогенных систем на основе universal item Request dealer structure (CORBA). Рассматриваются различные подходы к построению пиринговых приложений на основе RMI, Jini, JXTA.
В третьей части издания рассматривается создание серверных приложений и корпоративных систем.
Read Online or Download Advanced Java 2 platform: how to program PDF
Similar java books
This revised version of the vintage middle Java™, quantity I–Fundamentals , is the definitive consultant to Java for severe programmers who are looking to placed Java to paintings on actual projects.
Fully up-to-date for the recent Java SE 6 platform, this no-nonsense educational and trustworthy reference illuminates crucial language and library gains with completely proven real-world examples. the instance courses were conscientiously crafted to be effortless to appreciate in addition to important in perform, so that you can depend upon them as a good place to begin in your personal code.
Volume I is designed to speedy convey you on top of things on what’s new in Java SE 6 and that will help you make the transition as successfully as attainable, no matter if you’re upgrading from an past model of Java or migrating from one other language. The authors be aware of the basic recommendations of the Java language, besides the fundamentals of user-interface programming. You’ll locate exact, insightful assurance of
Interfaces and internal sessions
mirrored image and proxies
the development listener version
GUI programming with Swing
Exception dealing with
Logging and debugging
The collections framework
For exact insurance of XML processing, networking, databases, internationalization, defense, complicated AWT/Swing, and different complicated gains, search for the coming near near 8th version of center Java™, quantity II—Advanced beneficial properties
A travel of This booklet
bankruptcy 1 provides an summary of the features of Java that set it except different programming languages. We clarify what the designers of the language got down to do and to what volume they succeeded. Then, we supply a quick heritage of ways Java got here into being and the way it has evolved.
In bankruptcy 2, we inform you the way to obtain and set up the JDK and this system examples for this booklet. Then we consultant you thru compiling and working 3 normal Java courses, a console software, a graphical program, and an applet, utilizing the apparent JDK, a Java-enabled textual content editor, and a Java IDE.
Chapter three starts off the dialogue of the Java language. during this bankruptcy, we conceal the fundamentals: variables, loops, and easy capabilities. while you are a C or C++ programmer, this can be delicate crusing as the syntax for those language good points is largely almost like in C. for those who come from a non-C history akin to visible easy, you'll want to learn this bankruptcy carefully.
Object-oriented programming (OOP) is now within the mainstream of programming perform, and Java is totally item orientated.
Chapter four introduces encapsulation, the 1st of 2 primary development blocks of item orientation, and the Java language mechanism to enforce it, that's, periods and strategies. as well as the principles of the Java language, we additionally supply suggestion on sound OOP layout. ultimately, we conceal the terrific javadoc instrument that codecs your code reviews as a collection of hyperlinked websites. while you're conversant in C++, you then can flick through this bankruptcy quick. Programmers coming from a non-object-oriented heritage should still count on to spend a while gaining knowledge of OOP options ahead of going additional with Java.
Classes and encapsulation are just one a part of the OOP tale, and bankruptcy five introduces the opposite, specifically, inheritance. Inheritance allows you to take an current classification and adjust it in keeping with your wishes. this can be a primary procedure for programming in Java. The inheritance mechanism in Java is sort of just like that during C++. once more, C++ programmers can specialise in the variations among the languages.
Chapter 6 exhibits you ways to take advantage of Java’s thought of an interface. Interfaces allow you to transcend the easy inheritance version of bankruptcy five. learning interfaces lets you have complete entry to the ability of Java’s thoroughly object-oriented method of programming. We additionally conceal an invaluable technical function of Java known as internal periods. internal periods help in making your code cleanser and extra concise.
In bankruptcy 7, we start software programming in earnest. each Java programmer should still recognize a piece approximately GUI programming, and this quantity includes the fundamentals. We express how one can make home windows, tips on how to paint on them, the best way to draw with geometric shapes, find out how to structure textual content in a number of fonts, and the way to show images.
Chapter eight is a close dialogue of the development version of the AWT, the summary window toolkit. You’ll see the best way to write the code that responds to occasions like mouse clicks or key presses. alongside the way in which you’ll see tips to deal with simple GUI components like buttons and panels.
Chapter nine discusses the Swing GUI toolkit in nice element. The Swing toolkit enables you to construct a cross-platform graphical person interface. You’ll research all in regards to the different types of buttons, textual content parts, borders, sliders, record containers, menus, and conversation bins. despite the fact that, a few of the extra complex elements are mentioned in quantity II.
Chapter 10 exhibits you ways to set up your courses, both as functions or applets. We describe how one can package deal courses in JAR documents, and the way to convey functions over the web with the Java net begin and applet mechanisms. ultimately, we clarify how Java courses can shop and retrieve configuration details when they were deployed.
Chapter eleven discusses exception dealing with, Java’s powerful mechanism to accommodate the truth that undesirable issues can take place to solid courses. Exceptions offer you a good means of isolating the conventional processing code from the mistake dealing with. after all, even after hardening your application by means of dealing with all unheard of stipulations, it nonetheless may possibly fail to paintings as anticipated. within the moment 1/2 this bankruptcy, we offer you a lot of priceless debugging counsel. eventually, we advisor you thru a pattern debugging session.
Chapter 12 provides an outline of popular programming, an immense strengthen of Java SE five. zero. familiar programming makes your courses more uncomplicated to learn and more secure. We exhibit you ways you should use powerful typing and take away ugly and dangerous casts, and the way you could take care of the complexities that come up from the necessity to remain suitable with older models of Java.
The subject of bankruptcy thirteen is the collections framework of the Java platform. everytime you are looking to acquire a number of items and retrieve them later, you'll want to use a set that's most suitable to your situations, rather than simply tossing the weather into an array. This bankruptcy indicates you ways to use the traditional collections which are prebuilt to your use. .. .
Because the moment variation of this article, using the web and networks commonly has persevered to extend at a good looking expense. This has ended in either a rise famous for community software program and to advancements within the know-how used to run such networks, with the latter certainly resulting in alterations within the former.
Java 7 has a few gains that may please builders. Madhusudhan Konda presents an summary of those, together with strings in swap statements, multi-catch exception dealing with, try-with-resource statements, the hot dossier procedure API, extensions of the JVM, aid for dynamically-typed languages, and the fork and sign up for framework for job parallelism.
Programming for Linguists: Java (TM) expertise for Language Researchers is a pragmatic creation to programming utilizing the Java Programming Language for linguists and comparable language pros. content material: bankruptcy 1 Why Programming and Why Java™ Programming? (pages 1–4): bankruptcy 2 Getting all started (pages 5–9): bankruptcy three the fundamentals (pages 10–30): bankruptcy four enter and Output (pages 31–42): bankruptcy five tools (pages 43–53): bankruptcy 6 gadgets (pages 54–80): bankruptcy 7 textual content Manipulation (pages 81–101): bankruptcy eight Graphical consumer Interfaces (pages 102–124): bankruptcy nine images (pages 126–157): bankruptcy 10 Applets (pages 159–180):
- Pro Spring MVC: With Web Flow
- SCJP : Sun certified programmer for Java platform, standard edition 6 study guide (CX-310-065)
- Ant Developer's Handbook
- Learning PrimeFaces Extensions development
- Struts Kick Start
Additional info for Advanced Java 2 platform: how to program
1053 LoginServlet for authenticating registered Customers. (Images courtesy Pixo, Inc. ) 1057 ViewOrderHistoryServlet for viewing customer’s previously placed Orders. (Images courtesy Pixo, Inc. ) 1061 ViewOrderServlet for viewing details of an order. (Images courtesy Pixo, Inc. ) 1065 GetPasswordHintServlet for viewing a Customer’s password hint. (Images courtesy Pixo, Inc. 2 Communication between GetProductServlet and Product EJB. ShoppingCart remote interface for adding, removing and updating Products, checking out and calculating the Order’s total cost.
WeatherListener class subscribes to Weather topic to receive weather forecasts. WeatherDisplay displays WeatherBeans in a JList using a | WeatherCellRenderer. Voter application overview. CandidateHome interface for Candidate EJB. Candidate remote interface for Candidate EJB. CandidateEJB class to maintain candidate tallies. VoteCollectorEJB class tallies votes from Votes queue. TallyDisplay displays candidate tallies from database. TallyDisplay displays candidate tallies from database. TallyPanel class displays the name and tally for a candidate.
1021 ClientModel for representing supported clients. 1021 Flow of client requests and data returned in the Deitel Bookstore for XHTML clients. 1024 AddToCartServlet for adding products to a shopping cart. 1024 ViewCartServlet for viewing contents of shopping cart. xsl). xsl). xsl). ) 1034 RemoveFromCartServlet for removing products from shopping cart. 1036 UpdateCartServlet for updating quantities of products in shopping cart. 1038 CheckoutServlet for placing Orders. (Images courtesy Pixo, Inc.