[jboss-user] [JBoss Seam] - Re: Performance: @Name and @Stateless
DiegoCoronel
do-not-reply at jboss.com
Tue Oct 2 08:32:35 EDT 2007
Hi swd847,
So, my .xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
and my page.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <page xmlns="http://jboss.com/products/seam/pages"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd">
|
| <param name="firstResult" value="#{acaoList.firstResult}"/>
| <param name="order" value="#{acaoList.order}"/>
| <param name="from"/>
|
| <param name="acaoIdAcao" value="#{acaoHome.acaoIdAcao}"/>
|
| </page>
|
is it wrong ??
Im worried because im using just @Name and no EJB3 like @Stateless... and my bean is been created every method that my .xhtml is using.. i used a breakpoint in my constructor and always is stoping there. I tried @Scope(ScopeTyper.EVENT) and i stoped in breakpoint like 5 times again.... is this normal ?? Can I get better performance with EJB3 @Stateless ?
ty.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090610#4090610
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090610
More information about the jboss-user
mailing list