Tuesday, August 25, 2009

Introduction to the Struts Web Framework - NetBeans IDE 6.7 Tutorial

Introduction to the Struts Web Framework

This document takes you through the basics of using NetBeans IDE to develop web applications using the Struts web framework. Struts is an open source framework that extends the Java Servlet API and employs a Model, View, Controller (MVC) architecture. It enables you to create maintainable, extensible, and flexible web applications based on standard technologies, such as JSP pages, JavaBeans, resource bundles, and XML.

This tutorial teaches you how to build a simple MVC application that displays a login page and returns a success page upon submitting data that passes validation. You learn several basic features provided by Struts, as well as how these features are implemented using the IDE. Specifically, you use Struts tags in JSP pages, maintain user data with a Struts ActionForm bean, and implement forwarding logic using a Struts Action object. You are also shown how to implement simple validation to your application, including setting up warning message for a failed login attempt.

Excellent tutorial if you want a quick intro to Struts & NetBeans...

Posted via web from alromero's posterous

Monday, August 24, 2009

Develop PHP Web Applications with NetBeans, VirtualBox and Turnkey LAMP Appliance

Develop PHP Web Applications with NetBeans, VirtualBox and Turnkey LAMP Appliance

In this article by Alfonso Romero, we will learn how to configure NetBeans, VirtualBox and the Turnkey LAMP Appliance to develop complex PHP applications in a virtual environment. This article explains the process of creating a virtual machine, configuring the NetBeans PHP IDE, and managing a WordPress project with NetBeans in a step wise manner.

I hope this article helps to promote TurnKey Linux appliances, VirtualBox and NetBeans as a powerful way to develop Web apps...

Posted via web from alromero's posterous

Thursday, August 13, 2009

UNetbootin - Homepage and Downloads

The other day I ran out of CDs to create a KUbuntu Live CD, and after googling to find another way to install this Linux distro, I found this excellent piece of software to create bootable Live USB drives of Ubuntu, KUbuntu and a bunch of other Linux distros!

Posted via web from alromero's posterous

Widgetbox › Edit Widget: alromero's posterous - Open Source Software & More

If you haven't visited the WidgetBox Web site yet (http://www.widgetbox.com), go and take a look! You can make your own widgets, like the one I made to show my recent posts from Posterous!

Posted via web from alromero's posterous

Using X11vnc instead of vino, tightvncserver or vnc4server

I've been having a lot of trouble lately, using vino and vnc with my Ubuntu Linux PC. The bottom line is I need to use a remote desktop application to manage my Ubuntu PC from my Windows desktop. The first thing I tried was the Remote Desktop feature included in Ubuntu. This feature uses a package called vino, and the problem with vino is that I can't see the Ubuntu cursor correctly and the connection is a bit jerky.

Then I decided to install tightvncserver, but the keyboard was a mess and some icons and colors didn't display correctly on the remote desktop. After that I tried vnc4server, but got the same results. Then I stumbled upon No Machine NX (http://www.nomachine.com/) and decided to install it. To my surpirse it worked well the first time, but then Ubuntu updated some packages and NX started to behave exactly like tightvncserver and vnc4server!!

But today, after a week of frustration, I finally found something that works, at least for the time being! This fabulous package is called Xvnc, and you can download it from Ubuntu's repository. Just install it, open a terminal window and type x11vnc. Then you can connect from another PC using any vnc client like vncviewer:

The screenshot above shows a session on my Ubuntu PC using vncviewer from TighVNC on my Windows XP desktop. There are some settings to take care of, like adding a password to my X11vnc configuration, but right now I just wanted to let you know that this is the best vnc solution I've seen so far. I'll keep posting about all the new findings on vnc servers...

Posted via email from alromero's posterous

Problem with keyboard, TightVNC and Gnome in Ubuntu 9.04

Check out this website I found at bugs.launchpad.net

I followed the instructions and it worked on my Ubuntu Linux 9.04 (Jaunty) installation, hope it works for others with the same problem, too...

Posted via web from alromero's posterous

Enabling SSH on Ubuntu Linux 9.04 (Jaunty)

I just finished installing Ubuntu Linux 9.04 (Jaunty) on one of my PCs, and wanted to connect through SSH from another Windows XP PC. I haven't worked with SSH in a long time since my last server, so I forgot that the Live CD Ubuntu installation doesn't have SSH enabled by default. But to my surprise, I just went to the Synaptic Package Manager, typed SSH in the Quick Search box and selected the ssh metapackage (it installs the OpenSSH client and server). I marked this package for installation and then clicked on Apply. After a few seconds, the OpenSSH package was installed! Then I went to the Windows XP PC and tested the connection:

Voila! Another good reason to use Ubuntu!

Posted via email from alromero's posterous