How to Create a Java EE 6 Application with JSF 2, EJB 3.1, JPA, and NetBeans IDE 6.8

There are many articles and tutorials out there that discuss how to use the individual technologies in Java EE 6, e.g., JSF 2, EJB 3.1, JPA, etc, to develop an application, but I haven’t seen one that puts together the said technologies and showcases them in one tutorial with an end-to-end demonstration. As such, I … Read more

Liferay An Open Source Portal Development Platform

Liferay Portal has proved itself as the world’s leading open source portal platform in open source web development. Because of its reliability, cost effectiveness and capability to support the development of innovative internet-based applications, Liferay portal is increasingly being used globally across industries for their most challenging information technology needs. Liferay Portal is the only … Read more

JBoss Seam: Simplicity and Power Beyond Java? EE

Product Description This is the eBook version of the printed book. A new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393 Discover JBoss Seam: the Unified Framework for Simpler, More Powerful Web Development � JBoss Seam integrates EJB 3. 0 and JSF components under a unified framework that simplifies and accelerates Java EE … Read more

JSP + Servlets + EJB: Java EE 6 & GlassFish 3 using NetBeans 6.9 (Part 1 of 5)

This multi-part screencast series shows how NetBeans 6.9 provides comprehensive tooling for Java EE 6 & GlassFish 3. The different parts show: 1. A simple Java EE 6 application (JSP, Servlets, EJB) 2. Reading database table using Java Persistence API 2 3. Using Facelets with Java Server Faces 2 4. Contexts & Dependency Injection with … Read more

Native Seam Support Wanted for NetBeans & Glassfish

Jboss Seam logoJboss SEAM is by far the best programming framework for Java EE development as it solves most of the problems which arose for achieving a true MVC 2 implementation. All of the other frameworks like Struts and Spring MVC when used with presentation layer specifications like JSP and JSF 1.x while almost succeeding in the arena, when it came to agile development, they created at least as many other problems – if not more - as the ones they solved. Enter Jboss Seam which uses JSF 2 for the presentation layer which is truely a Java EE specification and for the rest of the MVC paradigm which consists of the business logic and the data persistence layer achieved respectively by EJB and JPA.

Joesph Faisal Nusairat had this to say in his book Beginning Jboss Seam from Novice to Professional. 

For years developers realized that the JavaServer Pages (JSP)/servlets paradigm was not enough to create enterprise-level web pages. That model provided the capability for a web tier that could pass objects from the client to the server, but essentially that was it. For most developers, this simple paradigm was not enough; more-complex operations were needed, and developers found themselves writing infrastructure code to deal with the shortcomings of the Servlet specification. Eventually, all the ideas learned from creating custom infrastructure code resulted in the web frameworks we know today, such as Apache’s Struts and Tapestry, OpenSymphony’s WebWork, and so forth. The Java community also got together and through the Java Community Process (JCP) created the JSF specification to tackle some of the issues raised and deal with the shortcomings of the Servlet specification.

Even though we now have web and business tiers with improved functionality, we have still been forced to create the plumbing code needed to connect them together. With Seam, however, these two areas can now focus more exclusively on what they do best—presentation and business logic.

Read more

How to set MySQL date from a result set to a PHP datetime object?

i am trying to set the date and time (DateTime stored in mysql database) to a php DateTime object, one way is to override the class some how to make that happen, but is there any easier way than that?e. g. $date = new DateTime();$date->setDate($mysql_resultset[‘date_time’]);and then format that date according and display it.

Effectiveness of ASP.NET

Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft’s first server-side script engine for dynamically-generated web pages. Initially released as an add-on to Internet Information Services (IIS) via the Windows NT 4. 0 Option Pack, it was subsequently included as a free component of Windows Server (since the initial release of Windows 2000 Server). It has now been superseded by ASP. NET.

Developing functionality in ASP websites is enabled by the active scripting engine’s support of the Component Object Model (COM), with each object providing a related group of frequently-used functions and data attributes. In ASP 2. 0 there were six built-in objects: Application, ASPError, Request, Response, Server, and Session. Session, for example, is a cookie-based session object that maintains the state of variables from page to page. Functionality is further extended by objects which, when instantiated, provide access to the environment of the web server; as an example FileSystemObject (FSO) is used to create, read, update and delete files.

In order to evaluate and assess ASP. Net you have to first understand the acronym and then access the support provided. The full form of the acronym is Active Server Pages . Net. This dedicated Microsoft application has been developed to create web pages and wireless or internet enhanced Microsoft . Net web programming technologies.   ASP. net is rife with efficiency and effectiveness and forms an integral part of the software giant’s . Net vision. It is in this capacity that the . Net framework becomes indispensible to web programmers and developers. The end result created is dynamic and sophisticated.

Read more

PHP Tutorial #2 – Variables and comments

Remember this video has been uploaded in full HD, 1280X720 (720P)! If you have a good internet connection please view in HD for better viewing. In this lesson we will show you the some of the items needed in everyday PHP programming, variables and comments. A short overview about what is talked about in the … Read more

Oracle Web Application Programming for PL/SQL Developers

Product DescriptionThis book covers everything you need to know to master Web application development in an Oracle environment – using PL/SQL. It is packed with practical tips that save the reader time, effort and frustration while developing and deploying Internet-ready, e-commerce applications using Oracle 9i. The book also provides important information on core topics such … Read more