Xom

Posted by Andrea Nasato Sun, 15 Jan 2006 22:22:00 GMT

Today I want to introduce you into XOM, which is one of the two arguments I’m going to talk about in our next meeting (the second is JSF 1.2). What is XOM? Someone could think it’s yet another XML library. In part that’s true.

Read more...

Posted in  | Tags ,  | no comments

Serialize a bean using jdbc

Posted by Enrico Giurin Wed, 11 Jan 2006 00:19:00 GMT

Sometimes, in my work as programmer, I need to serialize an object (bean) into a table, in a BLOB field, as well as retrieves bean from a ResultSet. I have realized a simple example that, using JDBC, allows to obtain this.

Read more...

Posted in  | Tags , ,  | 2 comments

Una nuova rivista di programmazione

Posted by Lucio Benfante Mon, 09 Jan 2006 18:18:00 GMT

Nei prossimi mesi uscirà in edicola una nuova rivista dedicata alla programmazione Java. Michele Sciabarrà, che ne sarà il direttore, ha accettato di rispondere a qualche domanda via posta elettronica su questo progetto editoriale.

Read more...

Posted in  | Tags , ,  | 11 comments

JUGMeeting #23 - Assemblea Annuale dei soci

Posted by Paolo Dona' Sat, 03 Dec 2005 06:09:00 GMT

Quando: Sabato 3 Dicembre 2005 dalle 09:00 alle 12:30

Dove: Attenzione! Aula differente dal solito… aula Ce – primo piano del DEI, via Gradenigo 6/B (ingresso studenti) Padova

Programma:
09:00 Accoglienza
09:15 Hecl,scriptingperJava(eJ2ME!)” a cura di DavidN.Welton
10:15 Java Break – Pausa caffe’
10:30 Assemblea annuale del JUG Padova (in seconda convocazione) a cura del Consiglio Direttivo del JUGPadova
12:30 Fine meeting 23
13:00 Pizza con chi vuole fermarsi con noi ;-)


Ingresso sempre libero!

Il PDF della locandina lo trovate a questo indirizzo

Vi aspettiamo!!!

Posted in

Spring - A Developer's Notebook

Posted by Lucio Benfante Sat, 26 Nov 2005 23:13:00 GMT

Cover: Spring - A Developer's Notebook Titolo: Spring - A Developer’s Notebook
Autori: Bruce A. Tate e Justin Gehtland
Pagine: 192
Anno: 2005
Casa Editrice: O’Reilly Media, Inc.
ISBN: 0-596-00910-0

Spring-A Developer’s Notebook è una sintetica guida introduttiva a Spring e ai suoi principali componenti. Il libro cerca di mostrare i vantaggi dell’uso di Spring per implementare le diverse parti che tipicamente vengono realizzate durante lo sviluppo di un’applicazione.

Read more...

Posted in  | Tags ,  | 4 comments

Maven 2: Spring and JTA dependencies

Posted by Lucio Benfante Sat, 26 Nov 2005 15:06:00 GMT

Few weeks ago I started using Maven 2 for one of my development projects. The project is very simple, but it has dependencies with some external libraries, in particular with Spring:

<dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring</artifactId>
  <version>1.2.6</version>
  <scope>runtime</scope>
</dependency>
Read more...

Posted in  | Tags , , ,  | 37 comments

JSF and Facelets

Posted by Andrea Nasato Tue, 22 Nov 2005 17:42:00 GMT

One of the main issues with JSF is the plenty of use of custom tags in the view. If you don’t want to use a visual instrument like Java Studio Creator, building a page could become a nightmare, especially if your graphic designer uses a huge amount of html components.

If you ever tried Tapestry you know that with that framework this is not a problem, when you have the html template you have only to put the proper attribute to dynamically rendered tags and it’s all done.

Now also JSF allows you to do that: the project facelets aims to have the same approach used when developing with Tapestry. With facelets you can use templating and write a plain html file as a view.

Read more...

Posted in  | Tags ,  | 3 comments

JUGMeeting #22 - Sito/Axis/JSF/Tapestry

Posted by Paolo Dona' Sat, 19 Nov 2005 06:19:00 GMT

Quando: Sabato 19 Novembre 2005 dalle 09:00 alle 12:30

Programma:

09:00 - Accoglienza
09:15 - “Presentazione del nuovo sito del JUG Padova” a cura di SeeSaw
09:45 - “Introduzione ad Axis” a cura di Enrico Giurin
10:30 - Java Break – Pausa caffe’
10:40 - “Sviluppo di applicazioni web con il framework JSF” a cura di Andrea Nasato
11:25 - “Confronto JSF e Tapestry” Andrea Nasato VS Paolo Dona’
12:30 - Fine meeting 22
13:00 - Pizza con chi vuole fermarsi con noi ;-)

Dove: aula De – piano terra al DEI, via Gradenigo 6/B (ingresso studenti) Padova

INGRESSO SEMPRE LIBERO! -

Il PDF della locandina lo trovate all’indirizzo: http://www.dei.unipd.it/~ieeesb/JUG_Vol/JUGmeeting22.pdf

Vi aspettiamo!!!

Posted in

From which Jar a Class was loaded?

Posted by Paolo Dona' Sun, 13 Nov 2005 15:11:00 GMT

Sometimes in production environments I face problems never encountered during development… It’s a general thing.. could happen with jdbc drivers or xml parsers.

I just feel classes are loaded from a different jar than expected.

This of course could happen if you’re deploying to a very different application server or if you’ve no control over the production server classpath.

I found in javaalmanac.com a code snippet that can help you identify which is the jar containing a specific Class at runtime:

Class cls = MyFoo.class;
ProtectionDomain pDomain = cls.getProtectionDomain();
CodeSource cSource = pDomain.getCodeSource();
URL loc = cSource.getLocation(); 
System.out.println(loc); 
// prints something like "c:/jars/MyFoo.jar"

This way you can check if your class is loaded right from the expected jar, not elsewhere :-).

This has shown to be really useful during my sad production debug sessions.

Hope it can help you as well.

Tags , , ,  | 14 comments

Older posts: 1 ... 9 10 11 12