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
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
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
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
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);
|
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 :
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 :
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
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 :
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
[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
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 =
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
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.
|
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
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 :(
16 matches
Mail list logo