tag:blogger.com,1999:blog-8492059842142356488.post8719557588754091069..comments2023-09-23T16:46:57.616+02:00Comments on Thoughts on software development: What is your structure of JEE based web projects?Oleg Varaksinhttp://www.blogger.com/profile/13872270134068047346noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-8492059842142356488.post-8246881785893392602014-04-11T12:54:15.564+02:002014-04-11T12:54:15.564+02:00This is good information about Java Enterprise Edi...This is good information about Java Enterprise Edition.Houston Seo Serviceshttp://enettechnology.wordpress.com/2014/04/09/how-to-find-the-right-content-writer-for-your-seo-firm/noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-81194319345469726452013-11-07T21:16:08.815+01:002013-11-07T21:16:08.815+01:00 Actually this feature is used to prevent the user... Actually this feature is used to prevent the users from accessing the facelets templates directly from the browser URL.So the template files inside the WEB-INF folder are only accessible to other views/main pages inside the application, but not directly from the web browser. This is a decision provided to improve the security and usability of the web application by the limiting access to top-level views only.Anonymoushttps://www.blogger.com/profile/05379655075889617303noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-78172067607651773012013-11-04T20:26:15.503+01:002013-11-04T20:26:15.503+01:00Hi commonly use the follow structure MVC (with spr...Hi commonly use the follow structure MVC (with spring):<br /><br />* control<br /> - dao<br /> - service<br /> - conveter<br /> - listener<br /> - util<br /><br />* model<br /> - model<br /> - bean<br /> - constant<br /> - exception<br /><br />* view<br /> - managed bean<br /><br />What do you guys thing about that?<br /><br />Regards.João Gavazzihttps://www.blogger.com/profile/01398721257480525439noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-41310485956868780072013-11-01T08:21:35.370+01:002013-11-01T08:21:35.370+01:00And big dialogs are evil. I prefer to get rid of d...And big dialogs are evil. I prefer to get rid of dialogs for CRUD apps and use MasterDetail from PrimeFaces Extensions http://fractalsoft.net/primeext-showcase-mojarra/sections/masterDetail/complexNavigation.jsfOleg Varaksinhttps://www.blogger.com/profile/13872270134068047346noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-26651928439600043632013-11-01T08:19:54.919+01:002013-11-01T08:19:54.919+01:00No, includes are not displayed in URLs. They are i...No, includes are not displayed in URLs. They are included into views. That means, in URL you will see only views, e.g. localhost:8080/myapp/usergroups/users/management.xhtmlOleg Varaksinhttps://www.blogger.com/profile/13872270134068047346noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-36182509613998965152013-11-01T08:17:55.823+01:002013-11-01T08:17:55.823+01:00Yes, if XHTMLs are placed below WEB-INF, they can&...Yes, if XHTMLs are placed below WEB-INF, they can't be called directly via URL. But in fact I didn't see that someone do that. I think IDE / Maven can handle pages directly under webapp much better. Oleg Varaksinhttps://www.blogger.com/profile/13872270134068047346noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-71099415711476475032013-10-31T15:12:30.725+01:002013-10-31T15:12:30.725+01:00I like you structure for xhtml pages! Include for ...I like you structure for xhtml pages! Include for Users and Groups looks like actions. Will you display URL like:<br />localhost:8080/myapp/usergroups/users/includes/add.xhtml or just always localhost:8080/myapp?<br /><br />What is your prefered way to send selected user for edit from users/managment.xhtml to users/edit.xhtml (session bean or url parameter) (if I correctly understand navigation logic from your project structure)?<br /><br />I use almost the same strategy for xhtml pages but prefer dialogs for addition, edit, remove if it's possible.<br />In code I have myapp.model (and all entities) myapp.controllers (and all controllers divided on subpackages by some app function) Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-35913161465992367732013-10-31T08:25:31.009+01:002013-10-31T08:25:31.009+01:00I like your structure. Always struggle to keep a c...I like your structure. Always struggle to keep a clean structure myself, cause it all gets blurred after awhile. But shouldn't you be placing the Include- / Templatepages under the folder of WEB-INF so that they can't be called via URL? I thought that was the common suggested way.lexzhttps://www.blogger.com/profile/08513070361710134795noreply@blogger.com