Diagram

September 15, 2006

iTag diagram

September 15, 2006

Here’s a short diagram about the iTag architecture


About iTag

September 12, 2006

iTag is a collaborative tagging system that is part of bigger project called Nepomuk.
It should help reorganize information in a different way, it allows the users to define some information about different topics, and reorganizing them based on the tags put by the users.


Hello world (simple application) with NetBeans

September 12, 2006

1.Download and install NetBeans 5.0 from www.netbeans.org
2. Start NetBeans and chose > new project, a wizard will guide you trough the setup
3.Chose project: a dialog window opens up chose in the categories Web > web application
4.Name and Location: put the right settings such as project name,location,folder and chose the bundled Tomcat (5.5.9) webserver
we use as an example Hello world as title and set a test folder to see if everything works. The output should be an HTML page that says “Hello World”

5. Frameworks: you will now see a checkbox, select Java Server Faces 1.1

So the settings for the hello world example are ready, now check the main window of NetBeans on the left side you can chose the perspectives you should see Files,Runtime,Projects

6. select Files, you should see your web application hello world listed, if you expand it you will see some files (2 folders and 2 servlets) that NetBeans generates for you, the folders are called META-INF and WEB-INF, the files are an index.jsp file and a welcomeJSF.jsp file.

7. double-click on the index.jsp. It should open up in the main frame of NetBeans, you should now see the structure of the .jsp file which is composed of HTML code and some special tags,in our first example there should be only a title and a heading that says “JSP Page”, you can now edit this page and substitute the “JSP Page” with some text such as “Hello world”

8. to deploy your project go on the left side of the NetBeans window, go on the projects perspective and select your project which should be named hello world, right-click on it and select run project, your default browser should open up and show a page with the title hello world


About JSF (Java Server Faces)

September 12, 2006

JavaServer Faces (JSF) is aJava based web application framework that simplifies the that simplifies the development of GUI for Java applications”
The goals of JSF are to create an easy to use framework for developing high quality GUI that can be modified by development tools.
It provides a set of Java classes for GUI components, component state and input events. The classes will manage the lifecycle of the GUI components
JSF provides also common GUI components including HTML form elements.
JSF provide a JavaBeans model for dispatching events from client-side GUI controls to server-side application behavior and generation of appropriate output for the target client.

see en.wikipedia.org/wiki/Java_Server_Faces


About JSP (Java Server Pages)

September 12, 2006

JavaServer Pages (JSP) is a Java technology that allows to dynamically generate HTML,XML or other types of documents in response to a Web client request. It permits Java code and certain pre-defined actions to be embedded into static content.

The JSP syntax adds additional XML tags, called JSP actions, to be used to invoke built-in functionality. Additionally, the technology allows for the creation of JSP tag libraries that act as extensions to the standard HTML or XML tags. Tag libraries provide a platform indipendent way of extending the capabilities of a webserver.
JSPs are compiled into servlets by a JSP compiler. A JSP compiler may generate a servlet in Java code that is then compiled by the Java compiler, or it may generate byte code for the servlet directly.


September 12, 2006

NetBeans

NetBeans allows to create a software out of components called modules, which are JAR files containing Java classes that interact with NetBeans open API

I chose to use NetBeans 5.0 platform because it’s a stable open source framework
that comes bundled with the Tomcat webserver and simplifies the development of web applications.

see also en.wikipedia.org/wiki/NetBeans


Netbeans + Tomcat tutorial

September 9, 2006

here is, apparently a tutorial which describes the use of tomcat with netbeans to create a project with JSP and servlets… give it a look!


NetBeans

September 9, 2006

Otherwise we do it with netbeans, this page shows how to do a hello world wep app with JSP/servlets.


Tomcat plugin for eclipse

September 8, 2006

okay, after trying to use sysdeo and other stuff, now I try to use Tomcat plugin for eclipse which apparently looks serious. Now we need to find a good tutorial using this plugin…