Archive

Author Archive

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

September 28th, 2010 13 comments


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 JSF 2 5. RESTful Web services using JAX-RS This is part #1 and all screencasts are hosted at blogs.sun.com

Is it possible to write programs on Mac without using Xcode?

September 28th, 2010 3 comments

If so what should I use? And is it easy? Any pointers are good.

 

Powered by Y! Answers

Native Seam Support Wanted for NetBeans & Glassfish

September 28th, 2010 No comments

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…

High Concurrency MySQL

September 28th, 2010 No comments


Domas Mituzas (Facebook) speaks at the 2010 O’Reilly MySQL User Conference & Expo. Slides – assets.en.oreilly.com From the official conference description at en.oreilly.com War and peace stories from Facebook how to detect, analyze and fix problems below, inside and above overloaded MySQL servers. This covers concurrecy problems that appear in real world environments, beyond labs and benchmarks and what tools have to be built to understand and contain the load.

Categories: MySQL, Video Tags: Concurrency, High, MySQL, Video

Jaspersoft At a Glance (Video webcast)

September 28th, 2010 No comments


ワークブレイン・ジャパン株式会社 ジャスパーソフト設立準備室: Jaspersoft Business Intelligence Suite製品は、包括的なビジネスインテリジェンスファミリーとして、世界でもっとも使用されているオープンソースJavaレポーティング・ライブラリー(JasperReport)とレポートデザイナー(i-Report)、インメモリー分析・OLAP分析そしてデータ統合のETLが統合されたスイート製品。CognosやBusiness Objects(SAP)の代わりに定価で機能いっぱい。

learning oracle application developer 115

September 28th, 2010 No comments


learning step by step oracle pl sql developer from basic.

How to Connect to MySQL with Visual Basic .Net?

September 28th, 2010 1 comment


This short tutorial shows how to connect to MySQL server using Visual Basic .Net.

Simple Animation with Visual Basic 2008

September 28th, 2010 25 comments


This is a simple and very cool animation with VB 2008 ***IMPORTANT*** To make this project work you need these two pics- a bat with its wings and an the other bat with its wings down. To get these pics go the following site img121.imageshack.us img5.imageshack.us After going to the link copy and paste the two pics into a directory (simply a place where u know it is like my pics) Public Clas frmMain Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Static x As Integer = 5 Static y As Integer = 0 Static flip As Boolean = False If y Mod 2 = 0 Then Me.PictureBox1.Image = My.Resources.bat1_a Else Me.PictureBox1.Image = My.Resources.bat1_b End If if Me.PictureBox1.Left (Greater Then Sign)= 500 Then x = -5 flip = True ElseIf Me.PictureBox1.Left (less Then Sign)= 0 Then x = 5 flip = False End If If flip = True Then Me.PictureBox1.Image.RotateFlip(RotateFlipType.RotateNoneFlipX) End If Me.PictureBox1.Left = Me.PictureBox1.Left + xy += 1 End Sub End Class The next vid that i will make will show how make the naimation move using the arrow keys :)

Advanced T-SQL Query Needed?

September 28th, 2010 3 comments

I have a table:ID FK Num Color1 A 5 Red2 A 2 Blue3 B 2 BlueI need a query that will give me the result set of:Number Red Number Blue Total5 4 9

Categories: MS SQL Server Tags: Advanced, needed, query, TSQL

C++ Programming Tutorial 5

September 28th, 2010 25 comments


C++ Tutorial continued (Part 5), going through pointers a little more in depth as people didnt really seem to get it.

Oracle RAC 10g on VMware (CentOS 4) part 5

September 28th, 2010 No comments


Step by step Oracle RAC on Linux. By Robert Malikian

Categories: Oracle, Video Tags: CentOS, Oracle, Part, VMWare

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

September 27th, 2010 1 comment

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.

SAP TechEd 2008 Las Vegas – Video Highlights #4

September 27th, 2010 No comments


A Different View: SAP Community Day at SAP TechEd 2008 — See the SAP communities come together to learn, collaborate, and have fun the day before SAP TechEd.

Categories: General, Video Tags: Highlights, SAP, TechEd, Vegas, Video

The Ethics of Hacking, Theory, and History of Hacking (part 2 of 2)

September 27th, 2010 No comments


In this tutorial I go over the ethics of hacking, theory, what it means to be a hacker and history of hacking (part 2 of 2)

Starting Oracle ASM Instance & Database

September 27th, 2010 3 comments


This is basic step on how to start Oracle 11g ASM instance and then starting the Oracle 11g Database. You can see there was some errors so I updated the init file and fixed it because I had copied the init file from another box. Hope this helps. I will soon be uploading instructions step by step with voice. Please stay tuned.

Xcode 3.2 Tutorial HowTo Create Twitter iPhone App (1of4)(Xcode 3.2) Apple Guide Help Source Code

September 26th, 2010 24 comments


Xcode 3.2 This is an HD tutorial showing how to create an entire Twitter Iphone app from scratch using xcode 3.2. (also compatible with 3.1) Tutorial explains basic concepts such as UI controllers, arrays, picker. Requires no previous knowledge! Perfect for the rising developer/development ! Designed with beginners in mind! For help post a question on www.tubelo.com/smf . Tutorial follows the source below. This is to help college students or others having difficulty with the book. For help feel free to post on tubelo.com To Download source files visit www.tubelo.com Source Dan, Pilone, Dan Pilone, Tracey Pilone, and Pilone Tracey. Head First Iphone Development: A Learner’s Guide to Creating Objective-C Applications for the Iphone. Sebastopol: O’Reilly Media, 2009. Print. Also special thanks to my sis’ for making the cool penguin! her Sn is “wingedaisuke” with the legendary “random bleach flash”!

World’s Most Popular RM PSP to iPhone Converter

September 25th, 2010 No comments

iphoneconverter.com( http://www. iphoneconverter. com ) Got the itch to flex your video converting skills but can’t find just the right software? Look no further! POPSnail’s “World’s Most Popular Now!” award is designed to solve just such a dilemma. The award is based on more than our opinion; our five faceted selection process factors in UI skin, speed, ease of use, user rating and popularity so you can see right away why one program is better than another.

Each of the ten RM PSP to iPhone Converter programs below is excellent in a slightly different way. There can of course be only one winner, but since not all of these programs have exactly the same features we’ve made comparing them easy and fast with our transparent ratings system. Scroll down to find what you need! Read more…

Objective-C Tutorial – Lesson 4: Part 2: Cast Operator & Sizeof Operator

September 25th, 2010 13 comments


In this lesson I demonstrate how you can change a variable from one type to another and how to find out for yourself the size of a variable in bytes. Twitter – twitter.com FaceBook – www.facebook.com E-mail – macandcomputerhelp@gmail.com Objective-C Tutorial objective-c tutorial objective c tutorial

Effectiveness of ASP.NET

July 5th, 2010 No comments

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…

Real world PHP Programming VTC

July 5th, 2010 No comments


www.adobe4u.com ….. By www.Adobe4u.com