Dimitri De Franciscis

Consulente software freelance

Primary links

  • Homepage
  • Chi sono
  • Pubblicazioni
  • Curriculum Vitae
  • Libri e guide
  • Fotografia
  • Pittura
  • Contattami
Home

junit

Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException

Submitted by dimitri on Mer, 04/01/2012 - 11:58
  • Informatica
  • j2ee
  • java
  • javax
  • jee
  • junit
  • maven
  • servlet
  • web application

Purtroppo anche io ho dovuto fare i conti con questo temibile e incomprensibile errore... ma per fortuna ne sono uscito indenne! Ora vi spiegherò come.

Dipendenze javaee-api

Di recente ho dovuto creare delle semplici web application in Java, utilizzando Maven come strumento di build (e non solo). Dopo essermi documentato sulle dipendenze da includere ho scoperto che per una generica applicazione Java Enterprise Edition (JEE) dovrebbe bastare includere questo frammento di configurazione nel file pom.xml:

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 218 letture
  • English

Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException

Submitted by dimitri on Gio, 07/04/2011 - 10:22
  • Informatica
  • j2ee
  • java
  • javax
  • jee
  • junit
  • maven
  • servlet
  • web application

I had to face this strange and scary error... but I was lucky and smart enough to come out with a solution, and I want to share it with you.

javaee-api dependencies

Recently I had to create some simple Java web applications using Maven as build tool (and not only for builds). After reading the necessary documentation about dependencies to be included I discovered that for a generic Java Enterprise Edition (JEE) application this configuration fragment in pom.xml should be enough:

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 1463 letture
  • Italian

Appfuse, Maven, Eclipse e JUnit: happy together

Submitted by dimitri on Gio, 28/10/2010 - 13:55
  • Informatica
  • appfuse
  • classpath
  • eclipse
  • junit
  • maven
  • test

Lately I've come back to Appfuse for some Java projects. I can't tell how much I adore Appfuse, but this time I won't bother you... However, back to the projects, I wanted to exploit the new features starting from scratch with a so-called Quickstart, importing files in Eclipse (another Java development pillar) and working on them. Well done, cool, seems to work...

Problem #1: how to import it in Eclipse?

It looks like the command:

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 1244 letture
  • Italian

Appfuse, Maven, Eclipse e JUnit: come risolvere i problemi di convivenza

Submitted by dimitri on Gio, 28/10/2010 - 13:15
  • Informatica
  • appfuse
  • classpath
  • eclipse
  • junit
  • maven
  • test

Ultimamente ho ricominciato ad usare Appfuse per dei nuovi progetti Java. Non spenderò mai abbastanza parole per descrivere quando adoro Appfuse, ma stavolta voglio risparmiarvi la noia... Comunque, tornando al progetto in questione, ho voluto approfittare dell'occasione per partire da zero con un nuovo Quickstart, importarlo in Eclipse (altro pilastro dello sviluppo Java) e cominciare a lavorarci. Bene, fico, sembra funzionare...

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 1328 letture
  • English

Impariamo ad usare The Play Framework - IV parte

Submitted by dimitri on Mar, 27/04/2010 - 11:58
  • Informatica
  • annotations
  • framework
  • hibernate
  • html
  • java
  • jpa
  • junit
  • play
  • template
  • web application

Nuovi test

In questo appuntamento vedremo come salvare nuove attività e modificare quelle già presenti nel database. Per fare questo dovremo usare il metodo save() fornito dalle API di Play e il cui scopo è di rendere persistenti le modifche ai dati; questo metodo fa parte del supporto a JPA di Play, il cui scopo è facilitare l'utilizzo di JPA (Java Persistence API); potete trovare un approfondimento sul sito stesso di Play.

  • Aggiungi un commento
  • Leggi tutto
  • 952 letture

Impariamo ad usare The Play Framework - III parte

Submitted by dimitri on Gio, 04/03/2010 - 09:57
  • Informatica
  • annotations
  • framework
  • hibernate
  • html
  • java
  • jpa
  • junit
  • play
  • template
  • web application

Test driven development

All'inizio di questa serie di appuntamenti abbiamo deciso di realizzare un'applicazione "vera", ciò vuol dire che durante il ciclo di vita del progetto dovremo utilizzare tutte quelle accortezze che ci permetteranno di garantire, entro un certo limite, la correttezza e l'aderenza ai requisiti concordati con un ipotetico cliente.

  • Aggiungi un commento
  • Leggi tutto
  • 1227 letture
  • 1 allegato

Potresti essere interessato anche a...

  • Impariamo ad usare The Play Framework - III parte
  • Impariamo ad usare The Play Framework - IV parte
  • Appfuse, Maven, Eclipse e JUnit: come risolvere i problemi di convivenza
  • Appfuse, Maven, Eclipse e JUnit: happy together
  • Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException

Navigazione

  • Contenuti recenti
  • Cerca
  • Tags
  • Articoli più letti

Seguimi

Follow @megadix

Dimitri De Franciscis - Consulente software freelance

Secondary links

  • Note legali
  • Pubblicità su www.megadix.it

Copyright De Franciscis Dimitri - p.iva 05327790969

RoopleTheme