Oracle duo pitch for Java’s lifeblood

Oracle duo pitch for Java’s lifeblood
Old-guard/new-guard moment Execs from “the combined Sun and Oracle” tag-teamed at this year’s EclipseCon to talk about the future of Java in a turn that was full of team spirit, but few details on Oracle’s plans.… What is your recession sales strategy?

Read more on The Register

Professional ASP.NET 4 in C# and VB

Product Description
This book was written to introduce you to the features and capabilities that ASP.NET 4 offers, as well as to give you an explanation of the foundation that ASP.NET provides. We assume you have a general understanding of Web technologies, such as previous versions of ASP.NET, Active Server Pages 2.0/3.0, or JavaServer Pages. If you understand the basics of Web programming, you should not have much trouble following along with this book’s content. If you are br… More >>

Professional ASP.NET 4 in C# and VB

Pro ASP.NET MVC Framework

  • ISBN13: 9781430210078
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.

Product Description
Steven Sanderson has seen the ASP.NET MVC framework mature from the start, so his experience, combined with comprehensive coverage of all the new features, including those in the official MVC development toolkit, offers the clearest understanding of how this exciting new framework could improve your coding efficiency—and you’ll gain invaluable up–to–date awareness of security, deployment, and interoperability challenges. The ASP.NET M… More >>

Pro ASP.NET MVC Framework

OOP Shopping Cart and Product Catalog with ASP.NET ADO.NET C Sharp (C#) sqlserver Part 5-2


OOP Shopping Cart and Product Catalog with ASP.NET ADO.NET C Sharp (C#) sqlserver Part 5-2 by Nuttha Otanasap Computer Science South-east Asia University email: [email protected] web

Introducing Enterprise Java Application Architecture and Design

Introducing Enterprise Java Application Architecture and Design
For a long time, Java Enterprise Edition (Java EE) has been the platform of choice across industries (banking, insurance, retail, hospitality, travel, and telecom, to name a few) for developing and deploying enterprise business applications.

Read more on Developer.com

Example with Source Code: A simple database-driven Java web application (CRUD) implementing JSP and Servlets

You can study and implement the following examples to create a simple Java-based database-driven web application which makes use of JSP and Servlets applying a MVC (model-view-controller) principle.

Create the following files:

DatabaseConnection.java

package sample;
import java.sql.*;

public class DatabaseConnection {

    public static Connection getConnection() {
    Connection con = null;
    try {
        // change the following line to your jdbc driver
        Class.forName("com.borland.datastore.jdbc.DataStoreDriver");
        // change this to "your database url", "username", "password"
        con = DriverManager.getConnection("jdbc:borland:dslocal:C:\\a.jds","Sample","");
        System.out.println(con);
        }
        catch (Exception ex) {
        ex.printStackTrace();
        }
    return con;
    }
}

Continue reading “Example with Source Code: A simple database-driven Java web application (CRUD) implementing JSP and Servlets”

Oracle execs cite modularity in Java’s future

Oracle execs cite modularity in Java’s future
As Oracle has been prone to do for the past nine months, company officials Tuesday pledged a strong commitment to Java technology. They even offered glimpses of a modular future for the platform.

Read more on InfoWorld via Yahoo! News

Software Tools, Controls accelerate application development.

Software Tools, Controls accelerate application development.
With framework rooted in Web standards, developed using JQuery and AJAX and extended in ASP.NET, ComponentOne Studio Enterprise 2010 offers suite of custom controls for Windows, Web, and Mobile application development. ASP.NET AJAX controls offer features fully extendable on client side, including GridView with asynchronous paging and sorting as well as TreeView with drag-and-drop nodes. Other …

Read more on ThomasNet

Real World Java EE Patterns Rethinking Best Practices

Product Description
This pragmatic book offers the real world knowledge you need to develop lean and maintainable Java EE 5 / 6 applications. Real World Java EE Patterns – Rethinking Best Practices guides you to efficient patterns and best practices in a structured way, with code from real world projects. This book includes coverage of: An introduction into the core principles and APIs of Java EE 6 (EJB, JPA, JMS, JCA, JTA, DI, Convention Over Configuration, REST), Principles of transa… More >>

Real World Java EE Patterns Rethinking Best Practices

Sun Certified Enterprise Architect for Java EE Study Guide

  • ISBN13: 9780131482036
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.

Product Description
Definitive, Comprehensive SCEA Exam Prep–Straight from Sun’s Exam Developers! This book delivers complete, focused review for Sun’s new Sun Certified Enterprise Architect (SCEA) for Java EE certification exam–straight from two of the exam’s creators! SCEA lead developer/assessor Mark Cade and SCEA lead developer/assessor Humphrey Sheil offer powerful insights, real-world architectural case studies, and challenging sample questions that system… More >>

Sun Certified Enterprise Architect for Java EE Study Guide

Beginning ASP.NET 3.5: In C# and VB

  • ISBN13: 9780470187593
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.

Product Description
This book is for anyone who wants to learn how to build rich and interactive web sites that run on the Microsoft platform. With the knowledge you gain from this book, you create a great foundation to build any type of web site, ranging from simple hobby-related web sites to sites you may be creating for commercial purposes. Anyone new to web programming should be able to follow along because no prior background in web development is assumed. The book starts a… More >>

Beginning ASP.NET 3.5: In C# and VB

20 Helpful jQuery Methods you Should be Using

So you’ve been playing with jQuery for a while now, you’re starting to get the hang of it, and you’re really liking it! Are you ready to take your jQuery knowledge to level two? Today, I’ll demonstrate twenty functions and features you probably haven’t seen before!


1 after() / before()

Sometimes you want to insert something into the DOM, but you don’t have any good hooks to do it with; append() or prepend() aren’t going to cut it and you don’t want to add an extra element or id. These two functions might be what you need. They allow you to insert elements into the DOM just before or after another element, so the new element is a sibling of the older one.

$('#child').after($('<p />')).text('This becomes a sibling of #child'));
$('#child').before($('<p />')).text('Same here, but this is go about #child'));

Continue reading “20 Helpful jQuery Methods you Should be Using”

How to run ASP on the Mac

I have an old web app that’s using Active Server Pages, and I want to run it on my (Intel) Mac. This is basically not a big deal, because you can simply use Microsoft IIS under Parallels.

But I wanted to use IIS only for ASP files, and let Apache handle the rest. And here’s how to make sure IIS only handles what it’s supposed to:

1. Make a share of your Webserver Root directory in Parallels.
2. On the PC, in the IIS Control Panel, click on the default Website, click on Properties, then choose Home Directory, select that the content should come from A Share located on another computer and enter .PSFyoursharename as the network directory.
3. Make sure you allow ASP under Web Service Extensions
4. On the Mac, uncomment the following lines in /private -> etc -> httpd -> httpd.conf (remove the #’s):

      LoadModule rewrite_module
      libexec/httpd/mod_rewrite.so
      LoadModule proxy_module
      libexec/httpd/libproxy.so
      AddModule mod_rewrite.c
      AddModule mod_proxy.c

Continue reading “How to run ASP on the Mac”

JBoss in Action

This book is divided into four parts, containing 15 chapters and two appendices.

Chapter 1: The JBoss Application Server

If you are using JBoss than you can simply skip Chapter 1. This chapter gets you up and running with JBoss by describing the directories and files that are part of JBoss AS, how to start and stop the server, and finally show how to deploy and undeploy a simple web application.

Chapter 2(Managing the JBoss Application Server) starts with a description of how JBoss application server is architected;the JBoss Microcontainer and JMX. Next, you will learn how each of these components are configured using its own configuration file, and how you can change these as well. Next, we get a closer look at a few of the management tools provided by JBoss like the JMX Console and twiddle. And finally, a look at some MBeans that provide helpful information,the MBeans that give the list of names in the JNDI namespace or a list of system properties.

Chapter 3(Deploying applications) is especially useful if you are encountering tons of deployment errors. This chapter starts with explaining how to deploy applications as well as services. Next, the most important section which you shouldn’t miss reading at all; understanding class loading. In this section, the authors start with a description of the class loaders, then go into class scoping, which enables the application server to differentiate among classes. Next in this section, a look at loader repositories which enable several class loaders to share or isolate classes. The next few sections cover common deployment errors like class not found exception, class cast exception and so on. The last section in this chapter is about configuring data sources and Hibernate archives.

If you are concerned about the security of your applications than Chapter 4(Securing applications) shows you everything you need to know about securing your applications. The authors discuss in detail the fundamental concepts behind application security, including authentication, authorization, and encryption and how they are implemented in JBoss AS. They also show you how to configure by demonstrating how you can access security data from a database, LDAP, or other security datastores.

Part 2: Application Services

If you are deploying web applications to JBoss than you must read Chapter 5(Configuring JBoss Web Server). It covers configuring web applications, JBoss web server, the key configuration files. Next, is configuring specific things in web applications like the URL paths, then the authors discussed JBoss Web Server connectors and how they’re used to allow client requests to come in over different protocols. In the next section the authors give us an overview of why web applications have different class loading rules and show us how to configure different web-specific class loading parameters. Next comes valves, another feature of JBoss Web Server, and finally the last section is all about configuring JavaServer Faces.

In chapter 4, the authors discussed about the fundamentals of JBoss security and showed you how to configure security domains and login modules. Chapter 6(Securing web applications) explores the configuration files necessary to enable security, how to enable authentication and authorization for URLs relative to your application’s context path. And finally see how to enable secure communication for server authentication, mutual authentication, and client-certificate authentication.

If you are a huge fan of EJB’s just like I am, than Chapter 7(Configuring enterprise applications) shows you how to structure, deploy, and configure EJB applications. Then, you will learn how to configure the application server, and finally also secure EJB applications.

In Chapter 8(JBoss Messaging), you’ll learn about configuring messaging. The chapter begins by describing JMS and how JBoss Messaging is architected. You will see an example of a message-driven EJB and a message-driven POJO. The authors show you how to use a database for message storage, how to define destinations, and how to configure authentication and authorization for those destinations.

If you are quite familiar with web services than you skip the first few sections of Chapter 9(Configuring Web Services) which introduces you to web services, shows you how to develop a simple web service. However, don’t skip the next few sections which are quite interesting and cover topics such as JBossWS annotations, securing your web services using authorization and encryption.

Part 3: JBoss Portal

I did evaluate JBoss Portal sometime in 2006. So, I am not an expert in this specific area so I just skimmed over Chapters 10 and 11. These chapters provide a very basic introduction to JBoss Portal. So, I am just going to quote the topics covered in these two chapters:

• Creating a portlet using JSPs and JSTL
• Using the Admin portlet and the descriptor files to define portlet instances and portlet windows
• Using multiple instances within a portal
• Adding content to the CMS
• Configuring window appearance
• Setting up access control for portals, pages, and windows
• Creating a custom portal

Part 4: Going to Production

All the chapters in this section are important and very interesting. These chapters cover everything you will need to know when your application goes to production.

Chapters 12 and 13 are dedicated to clustering. Chapter 12(Understanding Clustering) begins with the fundamentals of clustering; It was interesting to set up a simple cluster as explained in this chapter and learn how to configure JGroups and JBoss Cache. Chapter 13 covers clustering as applied to Java EE specific application components and services like session EJB’s and entities, HTTP session replication, and JNDI.

If you need to access and improve the performance of your application, than you need to read Chapter 14(Tunning the JBoss Application Server). In this chapters you will see ways to tune the hardware, operating system, database, JVM, application server, and of course your deployed application. There are also a few tips on how to interpret thread dumps to pinpoint performance issues within your code.

Chapter 15(Going to production) is the last chapter in this book which covers topics such as selecting a platform, running JBoss AS as a service, running multiple JBoss AS instances on the same machine. You will also learn how to remove services which are not required, secure the management applications, change the default data source, database, configuring the EJB3 timer service and precompile JSPs.

Appendix A: JNDI namespaces

In this appendix, the authors explore how JBoss does JNDI binding and how to generically bind your applications in JNDI, making them more portable across application servers.

Appendix B: Change is inevitable

To quote the authors

This appendix contains changes that came after CR2 and before the book went to the printer. Any changes after that will appear on the book’s website