I just went into prod with a new Seam app.
What experience do you have regarding performance of Seam applications?
They seem to be very fast. Seam makes the connection of JSF and EJB simplier
and does not seem to add overhead here.
Is there a way to cluster Seam applications?
Just as easy or
I just went into production with a new Seam app and see a problem now:
After a few days of running perfectly only the first element of all Lists that
I display with ui:repeat is shown. This behavior is seen application wide,
for every List from every session bean, no matter if the List is
@ffischer:
This fixed the problem, and 1.1.14 does not seem to cause any issues with Seam
1.2. Thank you so much for sharing your experience with me! This is also what
makes a good framework: A good community.
You can't imagine how glad I am now that this nasty bug is fixed and I'm not
sure
I am wondering if Seam Application Scoped Objects
@Scope(ScopeType.APPLICATION)
are serialized? If so, isn't there a performance issue if such an object is
used very frequently?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113415#4113415
Reply to the
Sorry, I certainly meant SYNCHRONIZED (not serialized).
[Offtopic: Why can't one edit posts?]
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113416#4113416
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113416
Sorry, I deserved this one.
On the other hand it shows me again that it was not enough to (completely!)
read the Seam book by Yuan/Heute.
The online doc covers a lot of topics that the book doesn't.
Thanks Pete.
View the original post :
If you use Facelets:
How can one output a fragment like this? The tags will cause errors as this is
not well-formed.
This is code for Google-Analytics
if(typeof(urchinTracker)=='undefined')document.write('sc'+'ript src='+\
|
Thanks, I had already tried that, but I received error messages in the browsers
(JavaScript error in IE, XML/document not well formed error in FF)
The solution that finally worked is this (note the double slashes):
script
| //![CDATA[
| function test(...)
| {
| ..
| }
| //]]
I always managed to avoid entity updates after a persist in the same method
call... however what happens if you add
card = entityManager.merge(card);
directly after the persist call?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4112674#4112674
Reply to the
Hi,
I have a small merketplace and a shopping cart that is a Stateful Session Bean
(SFSB). The order() method is annotated with @Remove. In only very few cases
the items in the basket were bought by someone who was faster. Then I throw an
Exception before the order can be created.
BUT: How
I am using FileInputStream inside an EJB 3 session bean. It works perfectly.
What error message do you get?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099417#4099417
Reply to the post :
I have several stateful session beans and I don't want the default interceptors
being executed for their @Destroy @Remove annoted methods.
Is there a way to do that in the ejb-jar.xml?
Or do I have to annote every single method with @ExcludeDefaultInterceptors?
Haven't found anything about
I was looking for a kind of wildcard way that works globally for all @Destroy
methods.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099409#4099409
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099409
Hi,
On my dev machine I want the dev app root to be here: http://localhost:8080/
Certainly this is where the JBoss Welcome Page resides. How can I configure
JBoss so that its Welcome Page appears under a subdirectory? Or is the best
practice to simply bookmark
Hi,
How would one exclude an exception from being written into the servers log file
that is used for user navigation like
org.jboss.seam.security.NotLoggedInException ?
The exception is thrown when the user calls a bean method that is annoted with
@Restrict(#{identity.loggedIn})
and in
Hey Peter, that's a great idea, thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097980#4097980
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097980
___
jboss-user mailing
Anyone here that uses Seam in production??
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093302#4093302
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093302
___
jboss-user
Thanks, does limit mean maximum or minimum?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093320#4093320
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093320
___
jboss-user
Great, thanks again.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093344#4093344
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093344
___
jboss-user mailing list
We will go into production soon with a Seam application running on JBoss AS
4.2. I would like to start with a single server. How much working memory would
you recommend?
Paragraph 27.1 in the Seam book by Yuan/Heute says that a too large heap size
can even slow down the JVM (GC sweeping takes
No experience here? The application will be for a brand new internet web site
and we don't expect a lot of traffic at the beginning. Currently I would tend
to a 2 processor system with 8GB RAM and a single AS instance that gets 6GB. Do
you think that makes sense?
How does your single
I'm using Seam and Facelets for a multilingual website. The site's charset is
Unicode. I would like to get rid of the automatic conversion of non-ASCII chars
to HTML entities (see samples below). What would I have to do?
Th? nghi?m Ti?ng Vi?t
| becomes
| Thamp;#7917; nghiamp;#7879;m
I thought this forum was Unicode too... I need to clarify what above means:
the question marks above are non-ASCII chars, the ampersands are not escaped on
my site.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4090658#4090658
Reply to the post :
To make that clearer: I have no issues with the charset, everything is
displayed well on my site. I just don't want the conversion to HTML entities
for non ASCII-chars.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4090659#4090659
Reply to the post :
I have searched the web for almost five hours now. This starts to drive me mad.
Please, someone must have solved this problem before... ?
I just don't want HTML entities in the pages but the Unicode chars themselves.
View the original post :
@arussel: Yes, that was it I have just learned another field of application
for the outputText control...
You made my day!
THANKS A LOT AND MANY GREETINGS TO PARIS (from Düsseldorf, Germany)!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4090781#4090781
Thanks Jacob,
I was just thinking that concurrent users might accidently get the same
outjected book object: User 1 requests book A and user 2 requests book B and
both get book A outjected.
Stateless SBs are synchronized but does that for sure mean that outjection from
Stateless SBs is?
View
Hi,
Certainly Stateless Session Beans are usually used to call its methods from
clients like Stateful Session Beans. The method returns and that's it, the
Stateless SB will not remember anything. In Seam you would normally not use a
Stateless SB with bijection. However the following simplified
My post was read more than 20 times and no one corrected me so I guess that it
makes sense to use Stateful SBs with Seam in this way.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4089335#4089335
Reply to the post :
Thanks Christian - I believe that URLs are not ISO-8859-1 either... I have
finally found this here in the forum:
If you are using Tomcat or JBoss all you have to do is [...] set URIEncoding
to whatever character encoding you are using for the tomcat Connector in the
server.xml.
The default
I can successfully POST any Unicode character (especially non ISO-8859-1 chars)
with my JSF-forms without having to deal with encodings.
But I have one Seam component that takes parameters via @RequestParameter and
GET.
In this case I have to manually convert the input String like this:
in =
I have the same low core:manager timeout setting and the same Seam version as
idylle (the previous author).
My conversations simply don't timeout even with a timeout of 1 millisecond (my
session timeout is 30 minutes).
Could anyone tell me how I can control my conversation timeouts??
View
My setting:
core:manager conversation-timeout=1
| concurrent-request-timeout=500
| conversation-id-parameter=cid
| conversation-is-long-running-parameter=clr/
Conversations simply don't timeout...
View the original post :
Thanks, actually this is the code I already have. It works fine, the only
problem is that my checkboxes are not pre-selected with the current list
status. It drives me crazy:
h:selectManyCheckbox value=#{client.paymentmethods} required=true
layout=pageDirection
| s:convertEntity /
|
Oh, and user tompom = JUnkie ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4069106#4069106
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069106
___
jboss-user mailing list
Thanks Pete.
For me it works only one way: My selection is saved correctly to the db. If I
select a single item my console says:
17:10:08,551 INFO [STDOUT] Hibernate:
| delete
| from
| clients_paymentmethods
| where
| clients_id=?
|
|
Thanks again Pete.
I have made sure that Client.getPaymentmethods() is called and returns the
correct list. It is called for each item in allPaymentMethods.resultList. So if
there are three items in allPaymentMethods.resultList the following debug
version of Client.getPaymentmethods() returns
I have the same problem with all my other controls. Until now I only needed
several h:selectOneMenu and could therefore work around the issue by just
adding one single f:selectItem followed by s:selectItems as below.
f:selectItem just works for me and pre-selects the last selection.
I changed all my session beans to make use of a SMPC. Does not help, my
checkboxes are still empty (same with all my drop down boxes if I don't work
with f:selectItem).
I'll try the .equals() method.
View the original post :
IT FINALLY WORKS!!!
I've just added equals() to my PaymentMethod entity like this:
public boolean equals(Object o){
| PaymentMethod pm = (PaymentMethod)o;
| if (pm.getId() == this.getId()){
| return true;
| }
| return false;
| }
Did the same thing for all
This would be a safer and more generic equals() method that does not have to be
changed for different entities.
public boolean equals(Object o){
return (o != null (this.getClass().cast(o)).getId() == this.getId());
}
Have fun.
View the original post :
Do you use Facelets? I believe that it just works with Facelets. With JSP you
need to define it in your tag library I guess.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4069304#4069304
Reply to the post :
Thanks,
that's very interesting as I thought the objects are equal although they come
from different PCs, I thought they are just not identical.
Two different objects having the exact same state (same property values) can be
considered as equal I thought. From that perspective my objects were
I'm using Seam 1.2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067947#4067947
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067947
___
jboss-user mailing list
Okay, I found it. I used Ajax4JSF (org.ajax4jsf.Filter in web.xml) which
destroys all Seam conversation (even a very short one like a simple redirect).
I have added SeamRedirectFilter to
web.xml(org.jboss.seam.servlet.SeamRedirectFilter) which solved all my problems.
BUT WHY is
@wise_guybg:
Thanks for your reply! My pages.xml is empty (it's a brand new project).
Regarding @Begin: I believe that cannot be used on a SLSB, is that correct?
Then I would need to change to a SFSB (which I thought I could avoid somehow...)
If you have an idea, a cool entry in pages.xml or
@SmokingAPipe:
Thanks, I do not care for multiple different searches in different tabs yet, I
just want the DataModel available on the page that I redirect to.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067559#4067559
Reply to the post :
Dear Seam community, that should be an easy question for you...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066905#4066905
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066905
@ellenzhao:
That does not work, I've just tried it. bookSearch.searchResults is not
available on page 2, even if I change BookSearchAction from a SLSB into a SFSB.
@All: Seam community, you know the solution, I'm sure. That has to work
somehow, there must be a solution! This is _SEAM_!
View
@wise_guybg:
The hotel booking example does not perform a redirect. The search is triggered
from the same page where the results are rendered.
I need the results on a page that is not the page that the action was called
from.
Should it really be so difficult??
View the original post :
@mgrouch:
How do you cache JNDI lookups?
I only have this in my components.xml. What would I have to add? Thanks!
core:init
| jndi-pattern=nmp/#{ejbName}/local
| debug=true/
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067174#4067174
Reply to
Hi,
I have a working little book search here. I is triggered from page 1 and the
results are rendered on page 2 (searchResultsPage).
My question: In the code below I bind the DataModel object to the session just
to have it available on the page that the SLSB redirects to. I don't want that:
Hi fhh,
as BookSearchAction.search is called from page 1 and displays page 2 after that
I would call it a redirect... this is how page 1 and 2 look like:
Page 1:
h:form
| h:inputText value=#{searchRequest.keyword} size=20/
| h:commandButton value=#{msg.search}
53 matches
Mail list logo