Surveiller ce forum | Commencer une nouvelle discussion Commencer une nouvelle discussion
RE: Prototype de gabarit projet ACube J2EE v3 [ Répondre ]
Par : Thierry RIGAL on 2008-09-04 18:10
[forum:90309]
Un nouveau gabarit pour projet ACube J2EE a été posté dans les developers features request de LISE . Ce gabarit reprend et complète le gabarit posté le 27/08 notamment au niveau
des actions de traitement de fichiers en base de données.

1/ Les actions de traitement de fichiers en base font appel indifféremment à Struts2 + FileWrapper (lié au JdbcWrapper)
ou bien à Struts2 + Ibatis. Une proposition de mise à jour du FileWrapper est contenue dans le package
acube.projet.technical.file. Le code des actions repose sur la version actuelle du FileWrapper, sont inclus en commentaires
le code lié au nouveau FileWrapper.

le paramètre permettant d'utiliser ou non Ibatis dans les actions est le booléen "ibatis" utilisé dans
le fichier de configuration struts.xml.

2/ la page d'accueil met en évidence les actions Struts2 + Ibatis ou Struts2 + JdbcWrapper.

3/ Un "FileService" remplace le "FileDelegate" pour utiliser Ibatis pour le traitement des
fichiers.


à faire : définir et utiliser un FileBO (business object) pour utiliser au mieux le FileService proposé.

par souci de ré"duction de la taille des fichiers proposés au téléchargement les librairies suivantes n'ont
pas été incluses dans l'archive postée :

WebContent\WEB-INF\lib\cglib-nodep-2.1_3.jar
WebContent\WEB-INF\lib\commons-beanutils-1.6.1.jar
WebContent\WEB-INF\lib\commons-collections-3.1.jar
WebContent\WEB-INF\lib\commons-dbcp-1.2.1.jar
WebContent\WEB-INF\lib\commons-digester-1.5.jar
WebContent\WEB-INF\lib\commons-fileupload-1.1.1.jar
WebContent\WEB-INF\lib\commons-io-1.2.jar
WebContent\WEB-INF\lib\commons-io-1.3.1.jar
WebContent\WEB-INF\lib\commons-jxpath-1.1.jar
WebContent\WEB-INF\lib\commons-logging-1.0.4.jar
WebContent\WEB-INF\lib\commons-pool-1.3.jar
WebContent\WEB-INF\lib\commons-validator-1.3.0.jar
WebContent\WEB-INF\lib\freemarker-2.3.8.jar
WebContent\WEB-INF\lib\fwacubej2ee_2.7.1.jar
WebContent\WEB-INF\lib\fwacubej2ee_cvCommon_2.7.1.jar
WebContent\WEB-INF\lib\fwacubej2ee_cvRealms_2.7.1.jar
WebContent\WEB-INF\lib\fwacubej2ee_FileWrapper_3.0.0-rc1.jar
WebContent\WEB-INF\lib\fwacubej2ee_JDBCWrapper_2.7.1.jar
WebContent\WEB-INF\lib\hsqldb.jar
WebContent\WEB-INF\lib\ibatis-2.3.0.677.jar
WebContent\WEB-INF\lib\log4j-1.2.8.jar
WebContent\WEB-INF\lib\ognl-2.6.11.jar
WebContent\WEB-INF\lib\spring.jar
WebContent\WEB-INF\lib\struts2-core-2.0.11.1.jar
WebContent\WEB-INF\lib\struts2-spring-plugin-2.0.11.1.jar
WebContent\WEB-INF\lib\xstream-1.2.2.jar
WebContent\WEB-INF\lib\xwork-2.0.4.jar

Prototype de gabarit projet ACube J2EE v3.0.0 [ Répondre ]
Par : Thierry RIGAL on 2008-08-27 16:45
[forum:90266]
ont été postés le 27/08 dans les Developers features request ACUBE LISE J2EE :
- un document Word "Prototype Gabarit Projet ACube J2EE v.3.0.0" relatif au gabarit et expliquant sa structure et son utilisation.
- un livrable "GabaritProjetACubeJ2EE-v3.0.0-RC1.rar" contenant le projet wtp : GabaritProjetACubeJ2EE.

Ce prototype devrait être enrichi par :
· une documentation du Projet ACube J2EE (v3.0.0)
· un guide du développeur
· des normes de développement serveur

Une base de donnée portable au format hsqldb permet d’illustrer le gabarit par des examples faisant appel soit au JDBCWrapper soit à Ibatis.

Le prototype de gabarit présenté traite des :
· actions liées au frameset
· actions liées au traitement de la base de données exampledb via le JDBCWrapper
· actions liées au traitement de la base de données exampledb via Ibatis
· actions liées au traitement des fichiers (téléchargement et chargement).

il manque :
- des examples de traitement de fichiers en base de données (à compléter ultérieurement).
- des tâches ANT de gestion du projet pour QUARTZ.


librairies à ajouter dans WEB-INF/lib :
WebContent\WEB-INF\lib\cglib-nodep-2.1_3.jar
WebContent\WEB-INF\lib\commons-beanutils-1.6.1.jar
WebContent\WEB-INF\lib\commons-collections-3.1.jar
WebContent\WEB-INF\lib\commons-dbcp-1.2.1.jar
WebContent\WEB-INF\lib\commons-digester-1.5.jar
WebContent\WEB-INF\lib\commons-fileupload-1.1.1.jar
WebContent\WEB-INF\lib\commons-io-1.2.jar
WebContent\WEB-INF\lib\commons-io-1.3.1.jar
WebContent\WEB-INF\lib\commons-jxpath-1.1.jar
WebContent\WEB-INF\lib\commons-logging-1.0.4.jar
WebContent\WEB-INF\lib\commons-pool-1.3.jar
WebContent\WEB-INF\lib\commons-validator-1.3.0.jar
WebContent\WEB-INF\lib\freemarker-2.3.8.jar
WebContent\WEB-INF\lib\fwacubej2ee_2.7.1.jar
WebContent\WEB-INF\lib\fwacubej2ee_cvCommon_2.7.1.jar
WebContent\WEB-INF\lib\fwacubej2ee_cvRealms_2.7.1.jar
WebContent\WEB-INF\lib\fwacubej2ee_JDBCWrapper_2.7.1.jar
WebContent\WEB-INF\lib\hsqldb.jar
WebContent\WEB-INF\lib\ibatis-2.3.0.677.jar
WebContent\WEB-INF\lib\log4j-1.2.8.jar
WebContent\WEB-INF\lib\ognl-2.6.11.jar
WebContent\WEB-INF\lib\spring.jar
WebContent\WEB-INF\lib\struts2-core-2.0.11.1.jar
WebContent\WEB-INF\lib\struts2-spring-plugin-2.0.11.1.jar
WebContent\WEB-INF\lib\xstream-1.2.2.jar
WebContent\WEB-INF\lib\xwork-2.0.4.jar

FEDER Powered By FusionForge Collaborative Development Environment Charte d'utilisation / Nous contacter / Mentions légales Haut de page