From the Book: Preface Why We Wrote This Book During the many Java programming language courses we teach, we have found that only a few programmers know what design patterns are when asked. About one in ten is able to...
详细信息
ISBN:
(纸本)0130935387
From the Book: Preface Why We Wrote This Book During the many Java programming language courses we teach, we have found that only a few programmers know what design patterns are when asked. About one in ten is able to name a few patterns off the top of his or her head. Of course, the concepts behind the patterns are familiar to many programmers. When we demonstrate patterns in the classroom, developers know and recognize them. We decided to create a pattern catalog for the Java programming language developers who understand at a basic level why patterns are a good idea, and are interested in applying them, but want a practical, hands-on guide to just how and why to use each individual pattern. Weve kept the book casual and frank in tone, and included full working Java code examples for each. We will have succeeded when you complete this book having not only learned about design patterns and the Java programming language, but having had fun reading it, as well. What This Book Is About This book will teach you the essential design patterns and how you can use them in your Java application. Furthermore, this book will show you where patterns are used in Java technology APIs and why they were used. Who Should Read This Book This book is intended for experienced Java programmers who want to build better applications. You should be comfortable with the Java programming language and be familiar with most of the basic Java APIs. Some knowledge of UML is useful, but not required. We recommend UML Distilled by Martin Fowler as a UML reference. How This Book Is Organized This book is divided into two parts. Part I,Commonly Used Patterns, is organized like a pattern catalogue, reference-style. Chapter 1: Creational Patterns on page 3 discusses patterns that create objects: Abstract Factory, Builder, Factory Method, Prototype, and Singleton. Chapter 2: Behavioral Patterns on page 39 is focussed on the patterns that can determine the behavior of your object model: Chain of Respon
From the Publisher: XML is buried everywhere in the Microsoft .NET Framework, but effective XML parsing and coding in .NET requires adjustment. This book describes the set of XML core classes in .NET, introduces the ....
详细信息
ISBN:
(纸本)9780735618015
From the Publisher: XML is buried everywhere in the Microsoft .NET Framework, but effective XML parsing and coding in .NET requires adjustment. This book describes the set of XML core classes in .NET, introduces the .NET XML parsing model and how to program against it, and discusses XML readers and writers and XMLDOM. It examines related technologies such as schemas, transformations, and XPath, and it discusses data issues such as synchronization and serialization, the DiffGram format, and the XML extensions in Microsoft SQL Server 2000. This Microsoft Press title also reveals how to get the best performance from XML with .NET, and it offers in-depth information on interoperability topics such as when to use XML Web services and when to use remoting.
Groovy and Beyond: Leverage the Full Power of Scripting on the JavaTM Platform!Using the JavaTM platform's new scripting support, you can improve efficiency, streamline your development processes, and solve proble...
详细信息
ISBN:
(纸本)9780321321930;0321321936
Groovy and Beyond: Leverage the Full Power of Scripting on the JavaTM Platform!Using the JavaTM platform's new scripting support, you can improve efficiency, streamline your development processes, and solve problems ranging from prototyping to Web application programming. In Scripting in Java, Dejan Bosanac covers key aspects of scripting with Java, from the exciting new Groovy scripting language to Java's new Scripting and Web Scripting *** begins by reviewing the role and value of scripting languages, and then systematically introduces today's best scripting solutions for the Java platform. He introduces Java scripting frameworks, identifies proven patterns for integrating scripting into Java applications, and presents practical techniques for everything from unit testing to project builds. He supports key concepts with extensive code examples that demonstrate scripting at work in real-world Java projects. Coverage includes ï ·ï ï ï ï ï ï ï Why scripting languages offer surprising value to Java programmers ï ·ï ï ï ï ï ï ï Scripting languages that run inside the JVM: BeanShell, JavaScript, and Python ï ·ï ï ï ï ï ï ï Groovy in depth: installation, configuration, Java-like syntax, Java integration, security, and more ï ·ï ï ï ï ï ï ï Groovy extensions: accessing databases, working with XML, and building simple Web applications and Swing-based UIs ï ·ï ï ï ï ï ï ï Bean Scripting Framework: implementation, basic abstractions, and usage examples ï ·ï ï ï ï ï ï ï Traditional and new patterns for Java-based scripting ï ·ï ï ï ï ï ï ï JSR 223 Scripting API: language bindings, discovery mechanisms, threading, pluggable namespaces, and more ï ·ï ï ï ï ï ï ï JSR 223 Web Scripting Framework: scripting the generation of Web content within servlet containersAbout the Web SiteAll code examples are available for download at this book's companion Web site.
This is a full paper for innovate practice. Building a private cloud or using a public cloud is now feasible at many institutions. This paper presents the innovative design of cloud-based labs and programming assignme...
详细信息
ISBN:
(纸本)9781538611746
This is a full paper for innovate practice. Building a private cloud or using a public cloud is now feasible at many institutions. This paper presents the innovative design of cloud-based labs and programming assignments for a networking course and a cybersecurity course, and our experiences of innovatively using the private cloud at our institution to support these learning activities. It is shown by the instructor's observations and student survey data that our approach benefits learning and teaching. This approach makes it possible and secure to develop some learning activities that otherwise would not be allowed on physical servers. It enables the instructor to support students' desire of developing programs in their preferred programming languages. It allows students to debug and test their programs on the same platform to be used by the instructor for testing and grading. The instructor does not need to spend extra time administrating the computing environments. A majority (88% or more) of the students agree that working on those learning activities in the private cloud not only helps them achieve the course learning objectives, but also prepares them for their future careers.
The era of professional JavaScript development has arrived! Gone are the days when writing all the clientside code for your applications by hand yourself was the norm. Gone are the days when scrounging around the Inte...
详细信息
ISBN:
(纸本)9781430210665
The era of professional JavaScript development has arrived! Gone are the days when writing all the clientside code for your applications by hand yourself was the norm. Gone are the days when scrounging around the Internet to find a snippet of code to do something you need could lead to either decent code or utter garbage that youd surely regret using later. No, writing highquality JavaScript these days is a whole lot easier with the advent of topnotch libraries that save you time and effort, and one that stands out from most others is Dojo. Dojo is a library like few others: written by some of the best JavaScript coders around today, providing nearly everything youll need to write modern Rich Internet Applications, all in one place. From Ajax to widgets, to clientside persistence and language extensions, and many points in between, Dojo has it all. In Practical Dojo Projects, youll learn all about what Dojo has to offer. Youll see it in action in the form of five fully functional applications, which include A contact manager for storing info for all the important people in your life A code cabinet: a place to store, index, and get code snippets from A stock tracker to keep track of your stock portfolio A message forum for open discussions on topics you define Even a fun little game! By the time youve finished reading, youll have a firm grasp on what Dojo is all about, and youll have the preparation you need to begin to use it yourself in your own projects. See you inside! What youll learn Uncover the fundamentals of Dojo, its core, Dojo Widgets, and DojoX. Build sophisticated JavaScript/Ajaxbased applications starting with a Dojo contact manager. Create a code cabinet, a place to store snippets of code for later reuse using Dojo and Dojo Offline (based on Google Gears). See how to build an interactive and fun came application using Dojo. Build a stock watcher application, which allows you to enter ticker symbols and will show you realtime updates using some availabl
KEY BENEFIT: The Deitels groundbreaking How to Program series offers unparalleled breadth and depth of object-oriented programming concepts and intermediate-level topics for further study. This revision is current wit...
详细信息
ISBN:
(纸本)0136123716;9780136123712
KEY BENEFIT: The Deitels groundbreaking How to Program series offers unparalleled breadth and depth of object-oriented programming concepts and intermediate-level topics for further study. This revision is current with the Java SE 6 revisions that have occurred since the book was last published. The Late Objects Version delays coverage of class development until Chapter 8, presenting the control structures, methods and arrays material in a non-object-oriented, procedural programming context. KEY TOPICS: Introduction and Basic Java programming; Control Statements: Part 1; Control Statements: Part 2; Methods and Introduction to Recursion; Arrays; Introduction to Strings and Files; Introduction to Classes and Objects; Classes and Objects: A Deeper Look; Object-Oriented programming: Inheritance; Object-Oriented programming: Polymorphism; Exception Handling; (Optional) ATM Case Study, Part 1: Object-Oriented Design with the UML; (Optional) ATM Case Study, Part 2: Implementing an Object-Oriented Design; GUI Components: Part 1; Graphics and Java 2D; Applets and Java Web Start; Multimedia: Applets and Applications; GUI Components: Part 2; Strings, Characters and Regular Expressions; Files, Streams and Object Serialization; Recursion; Searching, Sorting and Big O; Generic Collections; Generics; Data Structures; Multithreading; networking; Accessing Databases with JDBC; JavaServer Faces (JSF) Web Applications; Ajax-Enabled JSF Web Applications; JAX-WS Web Services. MARKET: A useful reference for programmers who need to brush up their Java skills.
network performance monitoring today is restricted by existing switch support for measurement, forcing operators to rely heavily on endpoints with poor visibility into the network core. Switch vendors have added progr...
详细信息
ISBN:
(纸本)9781450346535
network performance monitoring today is restricted by existing switch support for measurement, forcing operators to rely heavily on endpoints with poor visibility into the network core. Switch vendors have added progressively more monitoring features to switches, but the current trajectory of adding specific features is unsustainable given the ever-changing demands of network operators. Instead, we ask what switch hardware primitives are required to support an expressive language of network performance questions. We believe that the resulting switch hardware design could address a wide variety of current and future performance monitoring needs. We present a performance query language, Marple, modeled on familiar functional constructs like map, filter, groupby, and zip. Marple is backed by a new programmable key-value store primitive on switch hardware. The key-value store performs flexible aggregations at line rate (e.g., a moving average of queueing latencies per flow), and scales to millions of keys. We present a Marple compiler that targets a P4-programmable software switch and a simulator for highspeed programmable switches. Marple can express switch queries that could previously run only on end hosts, while Marple queries only occupy a modest fraction of a switch's hardware resources.
From the Publisher: *** Website programming shows you how to build an interactive website from design to deployment. Packed with solutions to website programming problems, this book will have you building well-enginee...
详细信息
ISBN:
(纸本)9781861008169
From the Publisher: *** Website programming shows you how to build an interactive website from design to deployment. Packed with solutions to website programming problems, this book will have you building well-engineered, extendable *** websites quickly and easily. What you need to know This book is for developers who: Use *** and Visual Basic .NET Use Visual Studio® .NET Professional or above, or Visual Basic® .NET Standard What you will learn from this book With *** Website programming you will learn to: Establish a solid, scalable website foundation Provide flexible user accounts by integrating with ***'s built-in security Create fully featured discussion forums Generate revenue from advertising Build a web interface for managing the files on your site Add opinion polls, e-mail newsletters, and news management Deploy the finished site on a live server Build websites using good, n-tier coding techniques
暂无评论