Monday, July 14, 2008

Core Swing: Advanced Programming














Core Swing: Advanced Programming


Written as a supplement to the author's Core Java Foundation Classes, Kim Topley's Core Swing: Advanced Programming delves deeply into several important Java topics. Every experienced Java programmer will find very useful techniques for working with Swing controls and other high-level UI features.

The book zeroes in on two aspects of Swing interfaces. First, there are over 500 pages on optimizing your usage of a variety of Swing text controls. The author provides solutions to mimicking native-style operating system support for data validation, numeric input, and special processing with user input. There's also excellent coverage on the extensive support in Swing for loading and displaying HTML. Sections on extending the Swing table control will let you change how table data is displayed and edited (with coverage of custom renderers and cell editors).

In addition, this book explores features in Swing that allow you to carry out advanced user interface operations, such as drag-and-drop functionality and undo support. Throughout this text, the author uses short code excerpts that solve problems and showcase brilliant Swing implementations. By concentrating on strategies and solutions, and not just the Swing APIs, the author shows you not only how to solve particular problems but also the underlying Swing design philosophy, so you can take this library even further in your own programs.

If anything, this text proves once and for all that Swing is ready to take on native operating systems like Windows with its support for advanced user features. This book delivers some really valuable and impossible-to-find information for any experienced Java programmer who needs to do more with Swing. --Richard Dragan

Topics covered: Extending Swing text controls, text wrapping and scrolling, manipulating text documents, input validation, text attributes, highlighters and carets, custom views, Swing HTML support classes, viewing HTML, editor kits, cascading style sheets and Swing, bi-directional text for international applications, advanced table features in Swing, custom table renderers, table editing and cell editors, drag-and-drop support in Swing, drag sources and drop targets, using tree controls for file information, undo support in Swing.









Core Servlets and Javaserver Pages: Advanced Technologies, Vol. 2 (2nd Edition) (Core Series)














Core Servlets and Javaserver Pages: Advanced Technologies, Vol. 2 (2nd Edition) (Core Series)


Java EE is the technology of choice for e-commerce applications, interactive Web sites, and Web-enabled services. Servlet and JSP technology provides the link between Web clients and server-side applications on this platform. Core Servlets and JavaServer Pages, Volume 2: Advanced Technologies, Second Edition, is the definitive guide to the advanced features and capabilities provided by servlets and JSP.

Volume 2 presents advanced capabilities like custom tag libraries, filters, declarative security, JSTL, and Struts. Like the first volume, it teaches state-of-the-art techniques and best practices illustrated with complete, working, fully documented programs.

Volume 2 explains in detail the advanced tools and techniques needed to build robust, enterprise-class applications. You'll learn how to control application behavior through the web.xml deployment descriptor file, how to enhance application security through both declarative and programmatic methods, and how to use servlet and JSP filters to encapsulate common behavior. You'll also learn how to control major application lifecycle events, best practices for using JSTL, and how to build custom tag libraries. Volume 2 concludes with an in-depth introduction to the Jakarta Struts framework.

Complete source code for all examples is available free for unrestricted use at www.volume2.coreservlets.com. For information on Java training from Marty Hall, go to courses.coreservlets.com.

Volume 1 presents comprehensive coverage of the servlets and JSP specifications, including HTTP headers, cookies, session tracking, JSP scripting elements, file inclusion, the MVC architecture, and the JSP expression language. It also covers HTML forms, JDBC, and best practices for design and implementation.

Core Servlets and Java Server Pages














Core Servlets and Java Server Pages

In the Java universe, the interface layer of the ubiquitous model-view-controller (MVC) software design paradigm is handled by either servlets of JavaServer Pages (JSP). The second edition of Core Servlets and JavaServer Pages, like its predecessor, documents these handy technologies fully and practically. Far more than a straight API reference, this book presents examples--complete with code and a listing or screen shot showing results--wherever possible. It's a fantastic strategy for communicating to programmers what they need to do in order to achieve the effects and behaviors they desire. What's new in the second edition? Lots, in terms of its eponymous software development environments: The book covers servlets 2.4 and JSP 2.0. The examples are more refined, too, and more attention is paid to supporting technologies like Web and database servers.
The didactic approach of authors Marty Hall and Larry Brown is recipe-like. They typically begin with a statement of a problem to be solved, then discuss relevant aspects of the servlet or JSP API. A series of code listings follows, and screen shots showing results bring up the rear. The net effect is that it's easy to spot relevant sections in the table of contents, it's clear how implementation works (thanks to the extensive listings) and there's no doubt about what the results are supposed to be. More elaborate examples show how servlets and JSP work in shopping cart, auction, and other applications. This is a significant and worthwhile update to an important Java book

Core JSP














Core JSP

* The experienced developer's guide to JavaServer Pages development!
* Database access, XML support, JavaBean integration, and much more
* Architecting JSP applications for maximum performance and maintainability
* Includes several complete sample JSP applications such as an authentication framework, an email tag library, and a Database-to-XML/XSL conversion tool Sun's JavaServer Pages technology gives developers a powerful cross-platform solution for dynamic Web application development without the drawbacks of previous approaches. In Core JSP, two leading enterprise developers show experienced developers exactly how to make the most of JSP technology—for database integration, XML applications, session tracking, and many other purposes. From coding fundamentals to effective JSP program design, you'll find it here—along with real-world sample code for HTML calendars, JNDI applications, LDAP-based authentication JavaBeansTM, database search forms, and more! * Make the most of scriptlets, expressions, declarations, actions and directives
* Get under the hood with Sun's JSP engine: multithreading, persistence, implicit objects, and more
* Understand JSP requests and responses—in depth
* Track sessions and data: hidden frames and form fields, cookies, URL rewriting, and the HttpSession API
* Integrate databases: JDBCTM, SQL, metadata, connection pooling, and more
* Creating custom JSP actions (custom tags)
* Optimize the performance of your JSP pages Every Core Series book:
* DEMONSTRATES how to write commercial quality code
* FEATURES dozens of nontrivial programs and examples—no toy code!
* FOCUSES on the features and functions most important to real developers
* PROVIDES objective, unbiased coverage of cutting-edge technologies—no hype! Core JSP delivers:
* Practical insights for transforming dynamic web pages into full-fledged web applications
* Hands-on coverage of integrating JSP and XML
* Expert JavaBean Action techniques for integrating JavaBean business logic with JSP presentation logic
* Extensive code examples—including several complete sample applications

Core JavaServer Faces














Core JavaServer Faces

JavaServer Faces promises to bring rapid user-interface development to server-side Java. It allows developers to painlessly write server-side applications without worrying about the complexities of dealing with browsers and Web servers. It also automates low-level, boring details like control flow and moving code between web forms and business logic.

JavaServer Faces was designed to support drag and drop development of server-side applications, but you can also think of it as a conceptual layer on top of servlets and JavaServer Pages (JSP). Experienced JSP developers will find that JavaServer Faces provides much of the plumbing that they currently have to implement by hand. If you already use a server-side framework such as Struts, you will find that JavaServers Faces uses a similar architecture, but is more flexible and extensible. JavaServer Faces also comes with server-side components and an event model, which are fundamentally similar to the same concepts in Swing.

JavaServer Faces is quickly becoming the standard Web-application framework. Core JavaServer Faces is the one book you need to master this powerful and time-saving technology.

Without assuming knowledge of JSP and servlets, Core JavaServer Faces:

- shows how to build more robust applications and avoid tedious handcoding
- answers questions most developers don't even know to ask
- demonstrates how to use JSF with Tiles to build consistent user interfaces automatically
- provides hints, tips, and explicit "how-to" information that allows you to quickly become more productive
- explains how to integrate JSF with databases, use directory services, wireless apps, and Web services
- teaches best practices and good habits like using style sheets and message bundles
- covers all of the JSF tags and how to create new tag libraries

Beginning JSP™, JSF™ and Tomcat Web Development: From Novice to Professional (Beginning from Novice to Professional)














Beginning JSP™, JSF™ and Tomcat Web Development: From Novice to Professional (Beginning from Novice to Professional)


Start building Java-based web applications now, even if you’re a complete newcomer to Java. Comprehensive and example-driven, Beginning JSP™, JSF™, and Tomcat Web Development is all you need to develop dynamic web applications using JSP, connect to databases with JSF, and put them into action using the world’s most popular open source Java web server, Apache Tomcat.

  • A comprehensive introduction to JavaServer Pages (JSP), JavaServer Faces (JSF), and the Apache Tomcat web application server
  • Key concepts made easy to grasp by numerous working examples and a walkthrough of the development of a complete e-commerce project
  • Written for professionals by a practicing Java web application professional and expert

What you’ll learn

  • Develop dynamic web applications using the popular JavaServer Pages (JSP) technology.
  • Connect to SQL-based databases, like MySQL, from JSP/JSF-based web pages.
  • Integrate XML and HTML markup into your Java web page or Java-based web application.
  • Build an e-commerce web site using sound design principles
  • Deploy web applications using the world’s most popular and widely adopted open source Java web application server, Apache Tomcat.

Who is this book for?

This book is ideal for anyone new to Java who wants to start developing Java web applications, but also offers a valuable refresher to Java web developers who are new to the latest JSP, JSF, and Tomcat standards.

About the Apress Beginning Series

The Beginning series from Apress is the right choice to get the information you need to land that crucial entry-level job. These books will teach you a standard and important technology from the ground up because they are explicitly designed to take you from “novice to professional.” You'll start your journey by seeing what you need to know--but without needless theory and filler. You'll build your skill set by learning how to put together real-world projects step by step. So whether your goal is your next career challenge or a new learning opportunity, the Beginning series from Apress will take you there--it is your trusted guide through unfamiliar territory!

Related Titles from Apress

  • Pro JSP 2, Fourth Edition
  • Pro Apache Tomcat 6
  • Pro JSF and AjaxPro JSF and Ajax: Building Rich Internet Components







Beginning JSP 2: From Novice to Professional














Beginning JSP 2: From Novice to Professional

Although many people might start with Java by picking up a beginning Java-type book, one alternative route is through web programming as Java has always had an affinity to the web. Putting together a JSP page is a relatively easy affair, therefore this book takes the approach of teaching Java through teaching JSP.

Covers the latest version of the JavaServer Pages specification 2.0 using the official reference implementation - Apache Tomcat 5. Also covers software, technologies, and specifications associated with JSP, including Struts, and Apache Tomcat 5.

Beginning JavaServer Pages














Beginning JavaServer Pages


  • JSP is one of the core technologies for server-side Java applications and the 2.0 release, which this book covers in detail, makes JSP an even more powerful tool
  • Walks Java programmers and Web developers through JSP fundamentals, including JSP syntax and directives, JSP Expression Language, JSP Tag libraries, JSTL, and techniques for testing and debugging
  • Shows how to use JSP in real-world Web applications along with open source frameworks such as Struts, WebWork, and Turbine, software design methodologies, and developer tools like Ant, jUnit, and CVS, as well as popular IDEs (integrated development environmnents)
  • Each chapter has an exercise section with solutions on the companion Web site

Addison Wesley JavaServer Pages, Second Edition (JSP 2.0)








Addison Wesley JavaServer Pages, Second Edition (JSP 2.0)



Since being introduced in 1999, JavaServer Pages(TM) (JSP) have become a popular and important technology for building dynamic, interactive, content-rich Web sites. JavaServer Pages(TM), Second Edition is a hands-on guide to working with JSP, offering the easiest and most efficient ways for non-programmers and Web designers to create sophisticated, dynamic sites. Programmers can also utilize this book to independently create new dynamic components. This second edition covers the latest release of the JSP specification (2.0), many standard extensions to JSPs, and a number of best practices that have been developed since the publication of the first edition.

This book also offers overviews of some related technologies, including:

+ JavaBeans(TM)
+ Servlets
+ JavaServer Pages Standard Tag Library (JSTL)
+ Jakarta Struts
+ Databases

JavaServer Pages(TM), Second Edition contains all the information necessary to start writing JSP-for anyone who has a computer and can write HTML. It includes practical, Java-based techniques for maintaining and personalizing information-rich Web sites, as well as examples based on Jakarta Struts, the new JSP toolkit. Recent updates provide a number of new tools and techniques that will allow readers to get the most productivity from JSPs, with the least amount of effort.

A Java Developer's Guide To Web Hosting by David Heffelfinger

You make a living writing enterprise java applications, and you would like to work on your own projects for fun or profit, you would like to create your own web site or you would like to have a place to host your open source project. You look around for hosting providers, and all you see is PHP and PERL support, with very few hosting companies supporting Java, what to do? Although the number of hosting companies supporting Java is increasing, support varies from nearly non-existent to companies that are deeply committed to their Java support.

There are three types of hosting plans available:

  • Shared hosting
  • Virtual Private Server hosting
  • Dedicated Server hosting.

With a shared hosting plans, several web sites are hosted on the same server, sharing the server's resources and using the same IP address. Virtual Private Server (VPS) plans consist of a server that is split into multiple virtual servers, each virtual server has it's own IP address, some companies call these types of plans Virtual Dedicated Servers. Dedicated servers are the most expensive type of plan, each dedicated server customer gets their own physical server, nice to have, but prohibitively expensive for personal web sites and small operations.

At Ensode.net, we recommend that you find a hosting company that provides Virtual Private Server (VPS) support (some hosting companies call it Virtual Dedicated Server), since they provide a nice balance between price and control. A VPS server is like having your own server, usually with root access, which gives you the freedom to install any application you might need, including version control systems like Subversion or CVS, WebDAV, or anything else you might need. With a VPS plan you will most likely get your own IP address, and your server will be not only your web server, but also your mail and database server.

VPS hosting plans tend to be somewhat more expensive than shared hosting plans, but it is our belief that they are worth the extra cost since they provide much more control and flexibility. If you are a Java developer, chances are you are used to "getting your hands dirty", and working on a server using good old Unix commands. Shared hosting plans tend to have "user friendly" (dumbed down?) interfaces, which might simplify administration, but can also severely limit what you are able to do, for example, let's say a shared hosting company gives you 300 megabytes of disk space to host your web site, and an additional 300 megabytes for your email, if your web site takes 5 megabytes of space, but your email server is getting full, there is no way to allocate more space to store emails and reduce the allocation of web space. In addition to leaving you unable to reallocate resources as needed, you can also forget about installing any applications on your server. Another disadvantage of shared hosting plans is that an IP address is shared among several customers, which could have potential problems. For example, if one of the customers uses their mail server for bulk emailing, the IP address of that mail server may be banned from several systems, in a shared hosting plan environment, this would affect all the customers using the same server.

With few exceptions, shared hosting plans that support Java do so through a shared JVM, which means that you have no way of starting or stopping the JVM, and the same JVM is used to run the Java applications of all the hosting company's clients on the server. With a VPS plan, since you have access to your own (virtual) server, it is a given that you get full control over the JVM.

You can use your favorite search engine to find companies that offer VPS plans. Good luck and may your site become immensely popular.

Special Edition Using Enterprise JavaBeans (EJB) 2.0














Special Edition Using Enterprise JavaBeans (EJB) 2.0

Special Edition Using EJB 2.0 starts with a description of how EJB fits into the big picture of J2EE development, then covers such topics as:


  • Locating EJB's using JNDI
  • Managing data with EJB Query Language
  • Building JMS applications using the new Message-driven Bean
  • Planning EJB applications using design patterns


Later chapters describe advanced development topics including interoperability, horizontal services and clustering. Throughout the book, the authors construct a component-based auction web site using the J2EE architecture as a practical example.






Pro EJB 3: Java Persistence API (Pro)














Pro EJB 3: Java Persistence API (Pro)

EJB 3.0 sets a new precedent. It has made huge advances in ease of development, and its drastically simplified programming model has been widely acclaimed. This book is the definitive guide to EJB 3.0 persistence technology. The authors provide unparalleled insight and expertise on this topic, fully examining and explaining EJB 3.0 persistence specification. They describe how to use this sophisticated technology to its full potential, including


  • The new EntityManager API
  • The new features of EJB Query Language (EJB QL)
  • Basic and advanced object-relational mapping
  • Advanced topics like concurrency, locking, inheritance, and polymorphism


Assuming a basic knowledge of Java, SQL, JDBC, and some J2EE experience, this book teaches you EJB 3 persistence from the ground up. After reading it, you will have an in-depth understanding of the EJB 3.0 Persistence API and how to use it in your applications.

Mastering Enterprise JavaBeans, Third Edition














Mastering Enterprise JavaBeans, Third Edition

* Includes more than 30 percent revised material and five new chapters, covering the new 2.1 features such as EJB Timer Service and JMS as well as the latest open source Java solutions

* The book was developed as part ofTheServerSide.com online EJB community, ensuring a built-in audience

* Demonstrates how to build an EJB system, program with EJB, adopt best practices, and harness advanced EJB concepts and techniques, including transactions,persistence, clustering, integration, and performance optimization






Chitika

Chitika list ads

Mobile Ads