[jboss-user] [Installation, Configuration Deployment] - Re: heavy load configuration

2007-05-09 Thread eiben
does anyone have some other hints? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044378#4044378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044378 ___ jboss-user mailing list

[jboss-user] [Installation, Configuration Deployment] - Re: heavy load configuration

2007-05-03 Thread eiben
PeterJ wrote : Also see http://wiki.jboss.org/wiki/Wiki.jsp?page=SPECjAppServer2002Tuning. Though that wiki entry is primarily about the specjappserver benchmark, the tuning tipis can be applied to almost any application. OK, so I'm neither a Java expert nor a JBoss expert :). What I found at

[jboss-user] [Installation, Configuration Deployment] - heavy load configuration

2007-04-25 Thread eiben
Hi, I'm currently conducting some performance-tests on a small web-app I wrote, that is running on JBoss 4.0.5GA. I currently have about 150 concurrent requests, which seems to kill my JBoss server (2x Xeon 1,3GHz, 2 GB RAM). While the test is running I don't get any response from jboss

[jboss-user] [Installation, Configuration Deployment] - Re: heavy load configuration

2007-04-25 Thread eiben
well, I used EJB3 to create some simple business-objects. So basically I'm using this to access the data of the database. I did however write some namedqueries to do some sort of lazy-eager fetching. (I have marked all attributes as lazy, but for some pages I need depending objects, so I use a

[jboss-user] [EJB 3.0] - order-by in named-query

2007-03-02 Thread eiben
Hi, I created a named query like this: | @NamedQuery(name = topItems, query = select i from Orderitem oi inner join oi.item i group by i order by sum(oi.quantity) desc) | | public CollectionItem getTopItems() | { | Query q = em.createNamedQuery(topItems); |

[jboss-user] [EJB 3.0] - Computed Columns in Entities

2007-03-01 Thread eiben
Hi, I would like to include a computed column in my entity. I have two tables Order and Orderitems, so I want to have a property in my Order entity that contains a COUNT(Orderitems.*). Is that possible? If yes, how? If now, what would be a possible solution? View the original post :

[jboss-user] [EJB 3.0] - Re: Computed Columns in Entities

2007-03-01 Thread eiben
Hmm, I was afraid someone would suggest something like this. Well I could also do something like | public int getItemsCount() | { | this.getOrderitems().size(); | } | public float getItemTotal() | { | float retVal = 0; | | for (Orderitem currentOrder :

[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-23 Thread eiben
I see ... even though I'm not 100% satisfied with this answer :). As you figured, I wouold like to have a better integration into the presentation-layer. Then again: I'm currently working on a research-project, where I want to compare two different web-application-platforms (java vs. php), so

[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-23 Thread eiben
but wait ... when I'm using SFSB and I make repeated calls, wouldn't that be like making those calls all from the same session bean? I mean ... I though using a SFSB in conjunction with an extended entity-manager should avoid that entities get detached. View the original post :

[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-23 Thread eiben
well ... seems not. Or I'm doing something wrong :( That's what I read in some book, that using extened persistence and SFSB should overcome the problem of detaching entities. hmm ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4021254#4021254 Reply to the

[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-22 Thread eiben
[EMAIL PROTECTED] wrote : You cannot programatically set the eager/lazy setting. You either set it to EAGER and have it always fetch, or you set it to lazy and for those things (like servlets) that need to force an eager fetch, they would need to call into some SLSB or some such thing that

[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-22 Thread eiben
OK, thanx. So I got this thingy working. But now I have something like this, which also gives me an error, that the items are not yet fetched ... | Itemgroup myItemGroup = getItemDispatcher().findItemGroup(Integer.parseInt(request.getParameter(id))); | | CollectionItem myig =

[jboss-user] [Beginners Corner] - Re: Deploying TrailBlazer

2007-02-19 Thread eiben
OK, I figured something ... if I change the annotation of the @Remove to @Remove(retainIfException=false) at least my solution can be deployed ... but why do I have to add this attribute? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4018815#4018815 Reply to

[jboss-user] [Beginners Corner] - Deploying TrailBlazer

2007-02-15 Thread eiben
Hi, I'm fairly new to Java EJB ... so I download the TrailBlazer example and wanted to deploy that to my local App-Server (Windows XP Pro, JDK 1.6, JBoss 4.0.5 with jboss-EJB-3.0_RC9_Patch_1). So I copied the EJB3Trail.ear to my deploy-directory ... but I get a couple of errors; e.g. |

[jboss-user] [Beginners Corner] - Re: Deploying TrailBlazer

2007-02-15 Thread eiben
jaikiran wrote : Can you post the entire exception stacktrace that you see above this error message? well, the log just sarting up the trailblazer app is about 1.3 mb ... :) so i took my little app, and deployed that instead :) heres the output from the server-log: | 2007-02-15

[jboss-user] [EJB 3.0] - Re: EJB client: NullPointerException in StatelessLocalProxy

2007-02-06 Thread eiben
ALRubinger wrote : @EJB injection into Servlets isn't yet supported, Yannik. I have a similar problem; for one I also wanted to inject a stateless bean into a servelt, but since that doesn't seem to work. So next I tried injecting the same bean in a normal app, but I get the same problem :(