[JBoss-user] [HTTPD, Servlets JSP] - Re: storing JSPs in database
For exmple? If you want to include some additional HTML code (for more banners/images/links etc. you can store them in db too). If you want to change page layouts, you should consider using some template engine (Velocity for ex.)/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3871277#3871277 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3871277 --- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882alloc_id=15148op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: storing JSPs in database
Hi Adam! Maybe you should consider storing survey data ( questions, possible answers, type of answers ( textbox, radio, checkbox etc.)) in your db and then, depending on which survey user wants to take, generate survey pages using one and the same JSP for all cases? In this case, you will not need to extend JspServlet and do other non-obvious things. If you are interested in this kind of solution, PM me and I'll try to explain it in more details. take care, -- juggernaut View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3871124#3871124 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3871124 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: IntelliJ and JBoss, Deployment Error
And what is the structire of your .ear file? What is inside the ejb-jar.xml and application.xml? It seems to me that error is in one of these files. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3869902#3869902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3869902 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: java.lang.classnotfoundexception, please help
maybe you should repackage your app in some other way? AFAIK ejbs should be packaged in jar file that contains ejb-jar.xml file, which describes classes and interface used for making calls to ejb. I use the following layout: | app.ear | | | +-beans.jar | | | | | +-META-INF | || | |+-ejb-jar.xml | +-app.war | | | +-META-INF | | | +-application.xml | | //ejb-jar.xml | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; | | ejb-jar |description[CDATA[No Description.]]/description |display-nameGenerated by XDoclet/display-name |enterprise-beans | !-- Session Beans -- | session | description[CDATA[]]/description | | ejb-name/ejb-name | | home.../home | remote.../remote | local-home.../local-home | local.../local | ejb-class/ejb-class | session-typeStateless/session-type | transaction-typeContainer/transaction-type | /session | /enterprise-beans | /ejb-jar | | //application.xml | application version=1.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd; | | module | web | web-uriapp.war/web-uri | context-root/app-web/context-root | /web | /module | module | ejbbeans.jar/ejb | /module | . | /application | | and it works quite well for me View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3865542#3865542 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3865542 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - OutOfMemory error on multiple calls of one SlSB form another
I've got the following problem: I've got 2 Stateless Session Beans. One of them calls other's method for several (about 10, actually) times. On the fifth or sixth call jboss starts to use something like 35-40 megabytes of memory for call marshalling, and finally application crashes with java.lang.OutOfMemory. What can be done to avoid such an aggressive memory consumption? code is something like the following: | we are in method of SLSB A | | bSession = BSessionLocator.locate(); | Set somethings = new HashSet(); | | for(){ | Object something = Session.getSomething( ...some params... ); | somethings.add(something); | } | | some other code... | BSessionLocator.locate() is a static method that gets BSession from JNDI I am using JBoss 4.0.0 Thank you for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3861969#3861969 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861969 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user