smartweb-devel Mailing List for SmartWeb (Page 2)
Brought to you by:
rlogiacco
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(3) |
Feb
(2) |
Mar
(1) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
(5) |
Oct
(7) |
Nov
(52) |
Dec
(3) |
2008 |
Jan
(18) |
Feb
(1) |
Mar
(4) |
Apr
(30) |
May
(19) |
Jun
(5) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
(1) |
Mar
(10) |
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(4) |
Nov
|
Dec
|
From: Sébastien LE C. <sl...@ya...> - 2009-03-14 15:03:59
|
Hi All, Is it me or the auth module is broken? sebastien@kilkenny:~/workspace/smartweb/modules/auth$ mvn clean compile [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building SmartWeb Auth [INFO] task-segment: [clean, compile] [INFO] ------------------------------------------------------------------------ (snip) [INFO] Compiling 51 source files to /home/sebastien/workspace/smartweb/modules/auth/bin [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/sebastien/workspace/smartweb/modules/auth/src/net/smartlab/web/auth/aspects/MethodAuthorizationInterceptor.java:[120,23] cannot find symbol symbol : constructor Privilege(java.lang.String,java.lang.String,byte) location: class net.smartlab.web.auth.Privilege /home/sebastien/workspace/smartweb/modules/auth/src/net/smartlab/web/auth/ValidTag.java:[129,33] cannot find symbol symbol : method hasPrivilege(net.smartlab.web.auth.Privilege,net.smartlab.web.auth.Scope,boolean) location: class net.smartlab.web.auth.User Thanks, Sébastien. |
From: Roberto Lo G. <rlo...@sm...> - 2009-02-25 10:33:44
|
A new bugfixing release has been cut and is available through the usual channels (sourceforge, maven, etc...). Please report any inconvenience on the issue tracker on SourceForge! Thank you, The SmartWeb Team |
From: Roberto Lo G. <rlo...@sm...> - 2008-10-17 18:02:12
|
I'm glad to announce to all of you we have released a bunch of new files: - the core framework library has got multiple bugfixes and it has been moved to 1.2.7 - the junit test extension have seen some additions and bugfixes so we moved to 1.2.0 - the auth module seems to be really stable now so we released the 0.8.2 and we prepare to turn for 0.9.0 - the ide templates has been aligned to 1.2.7 core library and finally got some downloads and issues have been opened In addition we released (very first release numbered 0.1.0 so consider it alpha) other two very interesting packages which allows users to concentrate on business design and page customization instead of starting from scratch each time: - the maven-smartweb-plugin is now available on the iBiblio Maven 2 repostiory and can be used to generate almost any class you need starting with only your Business Objects; this is a maven plugin, so you need to have Maven and your project need to be Mavenized - the smartweb-generator allows the same generation process to take place using a stand alone command line application, just not to force you to Mavenize your project to get these tool working Please, review our work and give us your feedbacks through the mailing lists or the issue trackers. Thank you very much. |
From: Roberto Lo G. <rlo...@sm...> - 2008-07-15 13:26:02
|
I wish to highlight again the logging policy on the framework as I noticed not all modules are following the policy and we must remedy to this mistake. I used verbs CAN, SHOULD, MUST and SHOULD NOT as they are used in the RFCs.... just to get it as much clear as I can.... Please add your opinions and contributions if I left any condition uncovered, this can help writing a style guide - methods entrance SHOULD be logged with info level for business methods (thus on the domain), web requests (thus on the Action methods) and persistance calls (thus on factories) and this logs should bring parameters name and value - methods CAN log additional informations using debug level or trace level depending on how much datas should be logged - logs of level beyond info (thus debug and trace) must be wrapped with an if statement to check if the log level is enabled (otherwise performance issues can be raised) - logs MUST be composed with the method signature, an hyphen and an additional lower case informative and brief string for ex. logger.info("myMethod(param1=" + param1 + ", param2=" + param2 + ") - start"); logger.info("myMethod(param1=" + param1 + ", param2=" + param2 + ") - something happened"); - logs of level beyond info (debug and trace) SHOULD NOT bring the method signature unless they span a long time and should be indented (\t) against other logs for ex. if (logger.isDebugEnabled()) { logger.debug("\tparam1 has value " + param1); } if (logger.isTraceEnabled()) { logger.trace("\tparam1 has value " + param1); logger.trace("\tparam2 has value " + param2); logger.trace("\tparam3 has value " + param3); } - exceptions SHOULD be logged ONLY IF NOT RETHROWN, in case you rewrap the exception you CAN log the exception at a debug level -- Roberto Lo Giacco |
From: Roberto Lo G. <rlo...@sm...> - 2008-06-09 12:24:50
|
The SmartWeb Team is pleased to announce the smartweb-test-1.1.0.jar "JUnit Extension for the SmartWeb application development framework" release! Changes in this version include: New Features: o Added distribution packages generation Fixed Bugs: o Added LGPL license to JAR file o Fixed getConnection. Using Dialect to set properties on connection o Fixed mailing list links Changes: o Major refactoring and redesign to support non inheriting test cases For a manual installation, you can download the smartweb-test-1.1.0.jar here: http://sourceforge.net/project/showfiles.php?group_id=163839&package_id=238151 Have fun! -SmartWeb Team -- Roberto Lo Giacco |
From: Roberto Lo G. <rlo...@sm...> - 2008-06-09 12:24:00
|
The SmartWeb Team is pleased to announce the smartweb-1.2.5.jar "Web application development framework" release! Changes in this version include: o TomcatConfigurationStrategy is unusable Issue: 1973860. Thanks to Sébastien Le Callonnec. o Added LGPL license to JAR file o Fixed mailing list links o Multiple Hibernate Session per request not Supported Issue: 1970648. o Renamed ConfigurationStrategy to FactoryConfigurationStrategy o Updated distribution packages generation o Updated templates For a manual installation, you can download the smartweb-1.2.5.jar here: http://sourceforge.net/project/showfiles.php?group_id=163839&package_id=185386 Have fun! -SmartWeb Team -- Roberto Lo Giacco |
From: Roberto Lo G. <rlo...@sm...> - 2008-06-04 11:34:29
|
I would consider your request, in the meanwhile I suggest to use a combined field (something like fullname) for your purposes. If you already have a patch to propose please provide it to us so we can speed up the process. 2008/6/4 Pino Contartese <gco...@gm...>: > > Hy all, > using SearchInfo i noted there is not the possibility to order a criteria > search by multiple Order on the bean properties. > For Example how can I order a Collection of Persons by lastname and then > firstname ? > Could us introduce this new feature on SearchInfo class ? > > Waiting for reply.. > -- > View this message in context: http://www.nabble.com/Missing-multiple-order-on-SearchInfo-class-tp17637393s17546p17637393.html > Sent from the SmartWeb Developers mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > -- Roberto Lo Giacco |
From: Pino C. <gco...@gm...> - 2008-06-04 01:36:58
|
Hy all, using SearchInfo i noted there is not the possibility to order a criteria search by multiple Order on the bean properties. For Example how can I order a Collection of Persons by lastname and then firstname ? Could us introduce this new feature on SearchInfo class ? Waiting for reply.. -- View this message in context: http://www.nabble.com/Missing-multiple-order-on-SearchInfo-class-tp17637393s17546p17637393.html Sent from the SmartWeb Developers mailing list archive at Nabble.com. |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-30 10:29:16
|
Sorry, wrong address :) 2008/5/22 Roberto Lo Giacco <rlo...@sm...>: > Nei prossimi giorni verranno messi in atto alcuni interventi > sistemistici che hanno l'obiettivo di migrare i server aziendali verso > una situazione più stabile e pulita dove non siano presenti le > condizioni di mancanza di ordine che sperimentiamo da un pò di tempo a > questa parte. > > Gli interventi prevedono la formattazione delle macchine web, master, > test, leonardo e zara in maniera progressiva. > > Vi invito a segnalare installazioni di software particolari da dover > backuppare che potrebbero essere a noi sconosciute ed ovviamente ad > effettuare il backup (o indicare i percorsi da backuppare) di quanto > ritenete possa esservi utile e non deve andare perduto. > > A strettissimo giro verranno anche formattate le postazioni desktop > dove il sistema operativo diverrà Ubuntu 8.04: in questo caso è ancor > maggiormente necessario che indichiate eventuali file che dobbiamo > backuppare in quanto non provvederemo a verificare i files installati. > > Vorrei segnalare infine come non sia stata affatto dedicata attenzione > al rispetto delle procedure di lavorazione del software indicate nei > documenti Naming Convention e Produzione: > - commenti su subversion inesistenti > - progetti lavorati al di fuori del repository e committati a blocchi > - strutture dei repository inconsistenti > - naming convention violate abissalmente > - carenza di documentazione e di test unitari > > -- > Roberto Lo Giacco > -- Roberto Lo Giacco |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-30 10:28:19
|
I think you have posted to the wrong list :-) 2008/5/30 Rocco Fusella <rfu...@sm...>: > Hello everyone, > I am trying to install Alfresco CMS with JBoss and enable RMI but when I > make the deploy me the following error. > > 2008-05-30 11:33:12,281 INFO [STDOUT] 11:33:12,281 ERROR > [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI > [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] > > What could be the problem? > Thank. > -- Roberto Lo Giacco |
From: Rocco F. <rfu...@sm...> - 2008-05-30 09:39:49
|
Hello everyone, I am trying to install Alfresco CMS with JBoss and enable RMI but when I make the deploy me the following error. 2008-05-30 11:33:12,281 INFO [STDOUT] 11:33:12,281 ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] What could be the problem? Thank. |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-27 09:17:12
|
The problem in mapping the display as unique is we can't have multiple accounts for the same person: rlogiacco (Roberto Lo Giacco) r.logiacco (Roberto Lo Giacco) will became impossible.... which is something I wish to avoid as this puts a limitation to our module... 2008/5/27 Stefano V <st...@gm...>: > No, you don't misunderstood me. :-) > If display is mapped with unique ( costraint in hibernate mappings, of > course ) > I think we can implement in a more consistent way methods like equals and > hashcode... > > > 2008/5/27 Roberto Lo Giacco <rlo...@sm...>: >> >> Hi Stefano, >> if I don't misunderstand you, you are suggesting to add a unique >> constraint on the hibernate mapping of the display property on >> Subject. >> My question is: why do you think it should be unique? What benefits we >> can obtain from such approach? >> >> 2008/5/26 Stefano Vetrini <st...@gm...>: >> > What do you think about make it unique ? >> > >> > Bye >> > s. >> > >> > >> > >> > ------------------------------------------------------------------------- >> > This SF.net email is sponsored by: Microsoft >> > Defy all challenges. Microsoft(R) Visual Studio 2008. >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> > _______________________________________________ >> > smartweb-devel mailing list >> > sma...@li... >> > https://lists.sourceforge.net/lists/listinfo/smartweb-devel >> > >> >> >> >> -- >> Roberto Lo Giacco >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> smartweb-devel mailing list >> sma...@li... >> https://lists.sourceforge.net/lists/listinfo/smartweb-devel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > > -- Roberto Lo Giacco |
From: Stefano V <st...@gm...> - 2008-05-27 09:06:53
|
No, you don't misunderstood me. :-) If display is mapped with unique ( costraint in hibernate mappings, of course ) I think we can implement in a more consistent way methods like equals and hashcode... 2008/5/27 Roberto Lo Giacco <rlo...@sm...>: > Hi Stefano, > if I don't misunderstand you, you are suggesting to add a unique > constraint on the hibernate mapping of the display property on > Subject. > My question is: why do you think it should be unique? What benefits we > can obtain from such approach? > > 2008/5/26 Stefano Vetrini <st...@gm...>: > > What do you think about make it unique ? > > > > Bye > > s. > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > smartweb-devel mailing list > > sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > > > > > > -- > Roberto Lo Giacco > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-27 00:53:09
|
Hi Stefano, if I don't misunderstand you, you are suggesting to add a unique constraint on the hibernate mapping of the display property on Subject. My question is: why do you think it should be unique? What benefits we can obtain from such approach? 2008/5/26 Stefano Vetrini <st...@gm...>: > What do you think about make it unique ? > > Bye > s. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > -- Roberto Lo Giacco |
From: Stefano V. <st...@gm...> - 2008-05-26 18:49:18
|
What do you think about make it unique ? Bye s. |
From: Giuseppe C. <gco...@gm...> - 2008-05-23 12:51:47
|
Fatela Girare ---------- Messaggio inoltrato ---------- Da: Giancarlo Naso <gi...@ho...> Date: 23 maggio 2008 13.54 Oggetto: FW: FATELA GIRARE salvera' un bambino A: ------------------------------ FATELA GIRARE salvera' un bambino > > Se la cestinerete davvero non avete cuore. > > > > Salve, sono un padre di 29 anni. Io e mia moglie abbiamo avuto una > > vita > > > > meravigliosa. > > > > Dio ci ha voluto benedire con una bellissima bambina. > > > > Il nome di nostra figlia è Rachele. Ha 10 anni. Poco tempo fa i > > dottori > > > > hanno rilevato un cancro al cervello nel suo piccolo corpo. > > > > C'è una sola via per salvarla è operare. > > > > Purtroppo, noi non abbiamo denaro sufficiente per far fronte al > > costo. > > > > AOL e ZDNET hanno acconsentito ad aiutarci. > > > > L'unico modo con il quale loro possono aiutarci è questo: Io invio > > questa > > > > email a voi e voi inviatela ad altre persone. AOL rileverà la traccia > > di > > > > Questa e-mail e calcolerà quante persone la riceveranno. > > > > Ogni persona che aprirà questa e-mail e la invierà ad altre persone > > ci > > > > donerà 32 centesimi. > > > > Per favore aiutateci. > > > > Con sincerità, > > > > George Arlington > > > > Barbara Varano > > > > Laboratorio di Virologia > > > > Istituto Superiore di Sanità > > > > Viale Regina Elena 299 > > > > 00161 Roma > > > > Tel 06-49903170 > > > > Fax 06-49387184 > > > > Dr Fabrizio Bianchi 1° Ricercatore CNR Sezione Epidemiologia Istituto > > di > > > > Fisiologia Clinica Consiglio Nazionale delle Ricerche Area di Ricerca > > di > > > > San > > > > Cataldo Via Moruzzi,1 - 56127 PISA (Italy) phone: +39-(0)50-3152100/1 > > > > fax: +39-(0)50-3152095 > > > > Massimiliano Giangaré cell. 328 9583457 > > > > Prof. Ettore Cardarelli Università degli studi di Roma 'La Sapienza' > > > > Via Eudossiana 18 00184 Roma ------------------------------ Windows Live Mail Controlla i tuoi account di posta con un unico programma, è GRATIS! <http://get.live.com/wlmail/overview> ------------------------------ Live Search Maps Vorresti un pub diverso dal solito? Cercalo con Live Search Maps! <http://maps.live.it/> ------------------------------ Windows Live Mobile Da oggi la posta di Hotmail la controlli anche dal tuo cellulare! <http://windowslivemobile.msn.com/BrowserServiceHotmail.aspx?lang=it-it> ------------------------------ Windows Live Mail Controlla i tuoi account di posta con un unico programma, è GRATIS! <http://get.live.com/wlmail/overview> ------------------------------ Windows Live Mobile Collegati a Messenger dal tuo cellulare!<http://windowslivemobile.msn.com/Homepage.aspx?lang=it-it> ------------------------------ Windows Live Mail Controlla i tuoi account di posta con un unico programma, è GRATIS! <http://get.live.com/wlmail/overview> ------------------------------ Windows Live Mobile Collegati a Messenger dal tuo cellulare!<http://windowslivemobile.msn.com/Homepage.aspx?lang=it-it> ------------------------------ Live Search Maps Vorresti un pub diverso dal solito? Cercalo con Live Search Maps! <http://maps.live.it/> ------------------------------ Windows Live Mail Controlla i tuoi account di posta con un unico programma, è GRATIS! <http://get.live.com/wlmail/overview> ------------------------------ Windows Live Mobile Da oggi la posta di Hotmail la controlli anche dal tuo cellulare! <http://windowslivemobile.msn.com/BrowserServiceHotmail.aspx?lang=it-it%20> |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-22 23:27:47
|
Hi Stefano, I don't know very well jetty, but in my experience jetty is not at all JTA enabled, meaning you can't test JTA in jetty without adding some sort of JTA wrapper around jetty threading handler... I'll further investigate, but I'm not sure.... 2008/5/22 Stefano Vetrini <st...@gm...>: > Hi All!! > > I'm testing smartweb and smartweb-auth outside Jboss (I'm using jetty), > but I have a problem: > I don't know how to manage transaction with smartweb outside Jboss :-/ > In particular Jetty doesn't have an own JTA. > Who can help me? > > bye > s. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > -- Roberto Lo Giacco |
From: Stefano V. <st...@gm...> - 2008-05-22 21:13:31
|
Hi All!! I'm testing smartweb and smartweb-auth outside Jboss (I'm using jetty), but I have a problem: I don't know how to manage transaction with smartweb outside Jboss :-/ In particular Jetty doesn't have an own JTA. Who can help me? bye s. |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-22 15:23:29
|
Nei prossimi giorni verranno messi in atto alcuni interventi sistemistici che hanno l'obiettivo di migrare i server aziendali verso una situazione più stabile e pulita dove non siano presenti le condizioni di mancanza di ordine che sperimentiamo da un pò di tempo a questa parte. Gli interventi prevedono la formattazione delle macchine web, master, test, leonardo e zara in maniera progressiva. Vi invito a segnalare installazioni di software particolari da dover backuppare che potrebbero essere a noi sconosciute ed ovviamente ad effettuare il backup (o indicare i percorsi da backuppare) di quanto ritenete possa esservi utile e non deve andare perduto. A strettissimo giro verranno anche formattate le postazioni desktop dove il sistema operativo diverrà Ubuntu 8.04: in questo caso è ancor maggiormente necessario che indichiate eventuali file che dobbiamo backuppare in quanto non provvederemo a verificare i files installati. Vorrei segnalare infine come non sia stata affatto dedicata attenzione al rispetto delle procedure di lavorazione del software indicate nei documenti Naming Convention e Produzione: - commenti su subversion inesistenti - progetti lavorati al di fuori del repository e committati a blocchi - strutture dei repository inconsistenti - naming convention violate abissalmente - carenza di documentazione e di test unitari -- Roberto Lo Giacco |
From: Rocco F. <rfu...@sm...> - 2008-05-09 12:52:41
|
From: Roberto Lo G. <rlo...@sm...> - 2008-05-08 13:54:20
|
Hi all, I was thinking about modules documentation as I've just submitted some work and I wish to discuss with you a proposal regarding a re-organization. I think actual module documentation structure doesn't help us all to find the right place to put our docs and consideration and thus doesn't ease our efforts, so here is my idea: - in the index page we present a generic description of WHAT the module accomplish and a descriptive list of the main features - in the quick-start page we describe how to install the module with the minimal effort, using pre configured example, scripts and other already prepared stuff, with links to more detailed informations - in the user-manual page we give more informations about module configuration and extensibility giving hints on how things are managed internally - in the faq we try to answer to the generic questions we receive on the list so we will be able to answer to a question with just a link - in the howto (another faq like page) we try to answer to technical questions we receive on the list I'll try to give an example using smartweb-auth (the better documented module) as an example. - index the module provides authentication, authorization and accounting features to the (blah blah blah) * features - extensible authentication and authorization mechanism - customizable auto-registration process - scopeable authorizations, meaning you can authorize not only on functions but even on business elements - blah blah blah - quick-start * step 0 download the smartweb-auth jar (link to latest release), the sql schema creation script for your database and blah blah blah * step 1 run the database script * step 2 run the initialization script to insert default values * step 3 blah blah blah - user-manual this manual is divied into n sections...(list of sections) * module configuration the module configuration file is structured in this way blah blah blah * extending authentication mechanism to extend the authentication mechanism you need blah blah blah here (link to the howto) is an example * extending the authorization mechanism (as before) * blah blah blah - faq (as we have right now, but giving away the more technical questions in the style of how to * is the user password transmitted in clear on the wire? * may I use POJO to identify a scope? - how-to (usage and extension examples with technical questions) * how to extend the authentication mechanism to use an asymmetric key instead of a password? * how to specify blah blah blah Let me know your impressions... IMHO this will simplify our documentation efforts.... We should be able to quickly find where to place that piece of information which actually don't fit anywhere... In addition we can consider the wiki as a place where we can manage the how-tos... but until now I have to admit we are not using the wiki.... how come? -- Roberto Lo Giacco |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-07 22:24:49
|
Hi all, I preferred to post here the answers to some questions Giuseppe have posted me about the file module he's trying to improve. He asked me how come the FileFactory implementation doesn't inherits from BusinessObjectFactory but from DataAccessObject and consequently needs to implement completely the DAO interface. Here follows my answer and suggestion for the next upcoming release. Well, when I first started implementing the file module hibernate wasn't able to handle lazy properties but only lazy associations. Obviously it wasn't acceptable to de-serialize a hundred files from the database (may be gigabytes of data) to simply list a folder contents, then I decided to move the FileFactory to a file based repository, storing files into the filesystem instead of the database. I had to suddenly stop to implement to move on more important modules like registry and auth, but I still took in mind the problem. Now hibernate supports lazy properties so the implementation can be easily moved to database but we still need to take great attention to store the real file data into a lazy property and well documenting that accessing that property will implies deserializing a blob object from the database. Well, i think I've covered Giuseppe question, but I wish to add something more. I suggest the upload procedure to allow feedback to the user thus allowing the development of an AJAX enabled user interface. To explain: think to what happens when you copy a file from a directory to another... your OS will display an estimated time of completion and a progress bar to give you an idea of how the operation is going proceeding. The same feedback can be providen to users uploading a file to a remote system (which is an operation not really different from the file copy previously explained) but to produce this feedback the underling operation should allow the UI to periodically ask how much bytes where already transferred, the size of the complete file. -- Roberto Lo Giacco |
From: Annamaria M. <ann...@gm...> - 2008-05-07 12:34:30
|
Very good job Pino, I think that we'll soon join the right visibility, going on in that way. On Mon, May 5, 2008 at 6:20 PM, Pino Contartese <gco...@gm...> wrote: > > Hy all, > I started to improve registry site documentation adding the apt default > files : > * user-guide.apt > * overview.apt > * index.apt > My official line is to complete the actual site-doc to give more > visibility > of the existing module.. > I confess that i just resolved a bug and improved a good part of existing > java doc .. > > I would like to receive feedback from developer list before going on.. > and to congratulate to all for the job made during these days.. > Thanks all .. > > > -- > View this message in context: > http://www.nabble.com/-Smartweb-registry--Improving-doc-site-tp17065332s17546p17065332.html > Sent from the SmartWeb Developers mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > |
From: Pino C. <gco...@gm...> - 2008-05-07 09:11:40
|
Hy, I start to use File module and watching Directory class I noted there isn't a signature to retrieve the "root" Directory. I would remind all that a Directory class can contain a Directory parent to go up on its hierarchy, so a Directory is root when its parent is null.. Waiting for reply. -- View this message in context: http://www.nabble.com/-Smartweb-File--Improving-Directory-class-introducing-isRoot%28%29-method-tp17100347s17546p17100347.html Sent from the SmartWeb Developers mailing list archive at Nabble.com. |
From: Roberto Lo G. <rlo...@sm...> - 2008-05-05 16:56:43
|
Hi all, this email is about modules development and is aimed to give to all developers suggestions about module development. I think Stefano have done a very good job with the auth module and I wish to let you all know what he have introduced and why I think we all should follow his example. First of all Stefano have introduced the database script generation for some databases, the ones we mostly support (PostgreSQl, Oracle, MySQL and HSQLDB) using Maven and a couple of plugins. I liked so much this choice I tried to fill some gaps he have left and now we have a real example of: - multiple database script generation - fully automated tests on hsqldb - versioned and downloadable database scripts In second place Stefano has spent a lot of time to complete and clean the test suite so we could finally constrain releases to the absence of tests in error, and this is a great thing as we now can be really sure (ok, not so really, but more than before) we are not going to break things in the following releases. To get to conclusion: please take the smartweb-auth module as an example of what we want in each module as that is a step forward in many areas. Good job Stefano, thank you! -- Roberto Lo Giacco |