Search Books and eBooks

Developing an EJB 3.0 entity in WebLogic Server

by Deepak Vohra | August 2010 | Enterprise Articles Oracle

Developing Entity EJBs require an application server and a relational database, and, optionally, a Java IDE to improve productivity and simplify the development. Eclipse IDE is the most commonly used open source Java IDE and MySQL database is the most commonly used open source relational database. Oracle Enterprise Pack for Eclipse (OEPE) All-In-One edition bundles a pre-configured Eclipse and Eclipse plugins. Oracle has acquired the open source MySQL database. MySQL database is available under the GPL license; a commercial license is also available without the precondition to purchase support services from Oracle.

In this article by Deepak Vohra, author of EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g, we shall develop an EJB 3.0 entity using the Eclipse-WebLogic Server-MySQL combination; you will learn the following:

  • Creating a MySQL database table
  • Configuring WebLogic Server with MySQL database
  • Creating a JPA project in Eclipse
  • Creating an EJB 3.0 entity
Read Developing an EJB 3.0 entity in WebLogic Server in full

Configuring and Deploying the EJB 3.0 Entity in WebLogic Server

by Deepak Vohra | August 2010 | Enterprise Articles Oracle

In the previous article Developing an EJB 3.0 entity in WebLogic Server, we developed an EJB 3.0 entity using the Eclipse-WebLogic Server-MySQL combination.

In this article by Deepak Vohra, author of EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g, you will learn the following:

  • Creating a persistence configuration file
  • Creating a session bean
  • Creating a test client
  • Deploying the EJB 3.0 entity in WebLogic Server
  • Testing the EJB 3.0 entity client
Read Configuring and Deploying the EJB 3.0 Entity in WebLogic Server in full

Building an EJB 3.0 Persistence Model with Oracle JDeveloper

by Deepak Vohra | August 2010 | Enterprise Articles Oracle

Oracle Fusion Middleware is a family name for a set of Java EE products that are integrated for SOA and web application deployment. WebLogic Server (WLS) is the Java EE container and Oracle JDeveloper the Java EE and SOA development IDE.

In this article by Deepak Vohra, author of EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g, we will use JDeveloper to create an EJB 3.0 application, and then we will deploy and test our application leveraging the embedded WebLogic Server that comes with JDeveloper. This makes it very easy for us to develop, deploy, and test our application.

Read Building an EJB 3.0 Persistence Model with Oracle JDeveloper in full

Syntax Validation in JavaScript Testing

by Yuxian Eugene Liang | August 2010 | Beginner's Guides Open Source

In this article, by Liang Yuxian Eugene, author of JavaScript Testing, we shall learn about the following topics:

  • The difference between validating and testing
  • How a good code editor can help you spot validation errors
  • What makes a code quality code
  • Why do we need HTML and CSS to be valid before we start working on JavaScript
  • Why JavaScript embedded in HTML may be reported as invalid
  • Common JavaScript errors that are detected by validating
  • JSLint and JavaScript Lint—how to use it to check your code
  • Valid code constructs that produce validation warnings
  • How to fix validation errors that are spotted by JSLint
Read Syntax Validation in JavaScript Testing in full

Playback Audio with Video and Create a Media Playback Component Using JavaFX

by Vladimir Vivien | August 2010 | Cookbooks Java

One of the exciting features of JavaFX is its inherent support for multimedia. In the previous article we saw Manipulating Images with JavaFX. In this article by Vladimir Vivien, author of JavaFX 1.2 Application Development Cookbook, readers learn how to playback both audio and video using the Media API. This article also shows how to create practical custom playback controls.

In this article, we will cover the following topics:

  • Playing audio with MediaPlayer
  • Playing video with MediaView
  • Creating a media playback component
Read Playback Audio with Video and Create a Media Playback Component Using JavaFX in full

Manipulating Images with JavaFX

by Vladimir Vivien | August 2010 | Cookbooks Java

One of the exciting features of JavaFX is its inherent support for multimedia. JavaFX includes support for rendering of images in multiple formats and support for playback of audio and video on all platforms where JavaFX is supported. In this article by Vladimir Vivien, author of JavaFX 1.2 Application Development Cookbook, readers learn how to display and manipulate images using the Image API.

In this article, we will cover the following topics:

  • Accessing media assets
  • Loading and displaying images with ImageView
  • Applying effects and transformations to images
  • Creating image effects with blending
Read Manipulating Images with JavaFX in full

WebSphere MQ Sample Programs

by Pav Kumar-Chatterjee | August 2010 | Enterprise Articles IBM

In the previous articles IBM WebSphere MQ commands and MQ Listener, Channel and Queue Management, we illustrated the working and setup of WebSphere MQ and we also took a look at how we manage the WebSphere MQ Listeners, channels and queues respectively.

In this article by Pav Kumar-Chatterjee, author of IBM InfoSphere Replication Server and Data Event Publisher, we will take a look at the following:

  • MQ sample programs
    • Server
    • Client
  • Dead Letter Queue handler
  • WebSphere MQ message format
  • MQ error messages
Read WebSphere MQ Sample Programs in full

Setting Payment Model in OpenCart

by Murat Yilmaz | August 2010 | Open Source

Enabling a store to accept credit cards online and other alternative payment methods for customers is vital for high availability of an online store.

In this article by Murat Yilmaz, author of OpenCart 1.4 Beginner's Guide, we shall learn:

  • The basics of online credit card processing
  • Merchant account
  • Payment gateway
  • PayPal as a payment method
  • The differences between several PayPal services
  • Bank Transfer, Cheque or Money Order, Cash on Delivery payment options

We should clearly understand the three core elements of accepting credit card payments for an online store before starting on the details of online credit card processing.

Read Setting Payment Model in OpenCart in full

Designing the Facebook Clone and Creating Colony using Ruby

by Chang Sau Sheong | August 2010 | Open Source

One of the most dominant Internet services today is the social networking service. A social networking service is an Internet service that models social relationships among people. Essentially it consists of a user profile, his or her social links, and a variety of additional services. Most social networking services are web-based and provide various ways for users to interact over the Internet, including sharing content and communications. Facebook is the most dominant social networking service till date, with 400 million active users, 5 billion pieces of content shared each week, and more than 100 million active users concurrently accessing Facebook through their mobile devices. It is also the most widespread, with 70 percent of its users from outside of US, its home market.

According to a report by the Nielsen Company, in January 2010, the amount of time an average person spent on Facebook is more than seven hours per month, which amounts to more than 14 minutes per day. If you lump together the time spent on Google, Yahoo!, YouTube, Bing, Wikipedia, and Amazon, it still doesn't beat Facebook!

In this article by Chang Sau Sheong, author of the book Cloning Internet Applications with Ruby, we will be cloning Facebook and creating an application called Colony, which has the basic but essential features of Facebook.

Read Designing the Facebook Clone and Creating Colony using Ruby in full

Trapping Errors by Using Built-In Objects in JavaScript Testing

by Yuxian Eugene Liang | August 2010 | Beginner's Guides Open Source

In this article, by Liang Yuxian Eugene, author of JavaScript Testing Beginner's Guide, we'll briefly describe what each type of built-in object is, along with its syntax, before we show some examples of how each of the built-in objects work. Do take note that the alert messages, which we will be using sparingly in the examples, are based on the Firefox browser. If you try the code on Internet Explorer, you might see different error messages.

In this article we will be specifically covering:

  • The Error object
  • The RangeError object
  • The ReferenceError object
  • The TypeError object
  • The SyntaxError object
  • The URIError object
  • The EvalError object
Read Trapping Errors by Using Built-In Objects in JavaScript Testing in full

IBM WebSphere MQ commands

by Pav Kumar-Chatterjee | August 2010 | Enterprise Articles IBM

This article illustrates the working and setup of WebSphere MQ. In this article by Pav Kumar-Chatterjee, author of IBM InfoSphere Replication Server and Data Event Publisher, we will look at the WebSphere MQ commands we need to set up and administer the MQ environment.

In this article we will cover the following:

  • MQ queues
  • WebSphere MQ commands
  • Create/start/stop a Queue Manager
  • Issuing commands to a Queue Manager
Read IBM WebSphere MQ commands in full

Building the Facebook Clone using Ruby

by Chang Sau Sheong | August 2010 | Open Source

One of the most dominant Internet services today is the social networking service. A social networking service is an Internet service that models social relationships among people. Essentially it consists of a user profile, his or her social links, and a variety of additional services. Most social networking services are web-based and provide various ways for users to interact over the Internet, including sharing content and communications. Facebook is the most dominant social networking service till date, with 400 million active users, 5 billion pieces of content shared each week, and more than 100 million active users concurrently accessing Facebook through their mobile devices. It is also the most widespread, with 70 percent of its users from outside of US, its home market.

According to a report by the Nielsen Company, in January 2010, the amount of time an average person spent on Facebook is more than seven hours per month, which amounts to more than 14 minutes per day. If you lump together the time spent on Google, Yahoo!, YouTube, Bing, Wikipedia, and Amazon, it still doesn't beat Facebook!

In the previous article we designed and created the Facebook clone Colony.

In this article by Chang Sau Sheong, author of the book Cloning Internet Applications with Ruby, we will take a look at the data model used in cloning Facebook.

Read Building the Facebook Clone using Ruby in full

Troux Enterprise Architecture: Managing the EA function

by Richard J. Reese | August 2010 | Architecture & Analysis Enterprise Articles

This article by Richard J. Reese, author of the book Troux Enterprise Architecture Solutions, explores an aspect of Enterprise Architecture that is not written about a great deal. There are as many models for running the EA function as there are opinions about the topic. This article provides a brief introduction to the following topics:

  • Setting the EA charter
  • Staffing the function
  • Sample job descriptions
  • Management metrics

These topics are provided as representative samples of how the EA function can be managed within a business or agency. There is no "best way" to organize the EA function. There are, however, some management principles that have worked well for many organizations, and these are presented next.

Read Troux Enterprise Architecture: Managing the EA function in full

MQ Listener, Channel and Queue Management

by Pav Kumar-Chatterjee | August 2010 | Enterprise Articles IBM

The previous article, IBM WebSphere MQ commands, illustrated the working and setup of WebSphere MQ.

In this article by Pav Kumar-Chatterjee, author of IBM InfoSphere Replication Server and Data Event Publisher, we look at how we manage the MQ Listeners, WebSphere MQ channels and WebSphere MQ queues.

Read MQ Listener, Channel and Queue Management in full

Basics of Exception Handling Mechanism in JavaScript Testing

by Yuxian Eugene Liang | August 2010 | Beginner's Guides Open Source

In this article, by Liang Yuxian Eugene, author of JavaScript Testing Beginner's Guide, we will learn more about JavaScript testing. More specifically, we'll learn how to test more complex code, where there will be more interactions between entities.

More specifically, we'll cover the following:

  • Issues with combining scripts
  • Using JavaScript libraries
  • Deliberately throwing your own JavaScript errors
Read Basics of Exception Handling Mechanism in JavaScript Testing in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software