Rosdi Kasim [http://community.jboss.org/people/rosdi] created the discussion
Messages is received by wrong services.
To view the discussion, visit: http://community.jboss.org/message/575137#575137
--
I have several services configured
So not sure if this question should be in here or the EJB 3 section but i can't
seem to find the answer to this if there is one.
I basically have for my named query -
select e from TABLE where column in (:stuff)
... now how do i populate stuff? It wont acccept an array, if i pass a comma
Ok maybe i am just missing it here.
I am trying to create a fairly simple page flow definition. And i am using page
flows because it could eventually get more complicated based on a substance.
But how do i handle error validations?
| page name=loader-information view-id=/loadCollection.xhtml
kukeltje
Thanks yeah i may do that for now.
But it seems like there has to be another easy way. Almost every page has some
kind of validation i need to call itself back on.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175416#4175416
Reply to the post :
I am sorry i am still not sure i understand how it knows when its done.
If you put it in a JMS queue, the MDB has to pick it up. So do you just have in
the mdb a forward to the next jbpm then?
Sorry my jbpm knowledge is a bit limited
View the original post :
So i have a fairly complex yet simple problem.
Been looking at spring batch, but since we already use jBPM here I'd like to
see if I can accomplish the task with it instead.
Basically. I have a bunch of files coming in that need processed.
I want the files to be ran by multiple nodes ...
..
salaboy21 wrote : I don't fully understand your question but you must look at
this wiki to search guidance.
| http://wiki.jboss.org/wiki/MultiChoiceForkAH
Thanks for the link.
I have read quite a bit of jbpm before its just a lower specific.
Part of my problem is i want to be able to
monkeyden wrote : Ah, I see what you mean. I was looking at the EJB3 example.
|
| @Target(TYPE)
| @Retention(RUNTIME)
| @Interceptors(LoggedInInterceptor.class)
| public @interface LoggedIn {}
Yeah ... when you do that if you look at the doco its only at the class level.
That parts
Christian ... i tried to find your book on amazon so i searched for your
name and this showed up instead
http://www.amazon.com/Christian-Bauer-Loves-T-Shirt-XL/dp/B0011H0542/ref=sr_1_2?ie=UTF8s=apparelqid=1202413814sr=8-2
... looks around nervously ...
View the original post :
msystems wrote : Use @PersistenceContext if you are using EJB3 and if you
need a new transaction
(@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) ) - Seam ref:
|
| anonymous wrote :
| | If you are using EJB3 and mark your class or method
So with the Seam's version of Interceptors it appears to make the code look
MUCH nicer.
I have 2 questions. I gather i can only do it at the class level, and not the
method level??
Secondly. Inside the annotation itself, can i define it as a Seam component? It
doesnt appear i can because I
There is this one call we have that literally can take 5 - 10 minutes to run
depending on how big of a file they upload to process.
I had a quick question.
4 years ago i know the pattern was to basically take the request ... send it
into a messageQueue, have the MDB pick it up and work on it.
Couldnt you just put an interceptor on the Entity bean?
or intercept one of seam's interceptors.
Shouldnt be too hard to figure out where it happens at, just throw an exception
in the setter and watch the stack trace
View the original post :
Bit off topic. But curious is the Identity no longer needed to do
authentication with?
I see you are injecting it but never setttng it. Is this then still going
through Seam security or your own?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126149#4126149
Pete - never mind ... as long as i initialize the value first it seems to be
fine.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126189#4126189
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126189
[EMAIL PROTECTED] wrote : No, you need to use #{foo.bar} with input controls,
otherwise a lot of JSF will break.
I changed the bean to Stateful .. and the same issue exists.
When the item is not initialized initially on the page the ajax call wont
notice it when it gets enabled.
View the
lol nope striek that ... it will never switch the value :(
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126207#4126207
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126207
Pete
Just out of curiosity ... i thought the @In was specifically supposed to be
used with input controls? I mean i guess you can inject other beans in there.
The rest of the code actually works, and this will even work as long as its
enabled when one first goes to the page. Or am i
[EMAIL PROTECTED] wrote : Bind to a property like
|
| #{controller.bondOption} - injection doesn't play well with JSF input
controls.
Ok .. yeah i actually that done before.
Just to clarify though. I still will mark the bondOption with @In since i want
to put it on a stateless session
Dangit sorry about hte junky cut and pastign
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125147#4125147
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125147
___
jboss-user
Ok here we go in the display page:
| rich:listShuttle sourceValue=#{customFlow.searchTypeList}
|
targetValue=#{searchTypesOrder} var=item listHeight=300
| listWidth=300
That truly is one of the dumbest things i have read.
Not because of what he said, but how he came to his conclusions.
Heck depending on the project i probably could have done it in Ruby on Rails in
1 day. Guess that means GWT and Spring sucks?
His issue goes to the heart of many development
Do you have any specific questions about the architecture?
Are you wanting to know the basic layout of the flow it takes through classes
or are you wanting to know more details of how individual components work.
View the original post :
Not sure if it will work but couldnt you insert this in there -
| a4j:status
| f:facet name=start
| h:graphicImage
value=/img/spinner.gif/
|
Yeah, i was wondering if anyone else had this issue and if there was a work
around.
So basically.
I have a page with a bunch of inputs, i am using an Ajax call on a list box so
when a certain list box is triggered it determines whether you need to select a
radio box below.
The radio box is
btw to expand on your first question.
Just because there is little code needed, doesn't mean there aren't design
patterns or maybe the better term is good design.
Since Seam comes pre-loaded with soo many options you are going to have lots of
decisions to make.
ie:
- When to use a Stateful
[EMAIL PROTECTED] wrote : No. Seam allows you to design your app without
patterns - you design as it suits you not, the framework.
yes and that is a VER dangerous thing to.
I think its great in the right hands, but for junior developers who are just
starting Seam its intereseting what they
Nevermind .. now that i switched it to Auto it seems to work although the
output on the console is the ame with it doing a next val.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124453#4124453
Reply to the post :
Oskar,
Thanks. yeah i understood the basic ideas about it before.
Before though we were using SEQUENCE as our strategy.
I guess the big problem, which i should have stressed is that when it generates
the number and stores it in the databse, i can't find where its getting that
number from. If
Quick question, you are using @SequenceGenerator @GeneratedValue with a
strategy of Sequence, you are on oracle, and give it a name lets call it
s_temp.
Would you expect for that S_temp to show up in the sequences table in oracle?
for some reason i would have thought so but i dont see it
In the management console, is there a place to go to see the amount of
SessionBeans (stateless or stateful) that are currently in the pool.
And the amount of SFSBs that are currently instantiated and being used?
View the original post :
I think i may have answered my own question
The JMX MBean View has it right.
Or at least appears to have most of the info.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124164#4124164
Reply to the post :
http://www.jboss.com/products/seam
... is this on purpose?
The simplicity of Seam 1.0 will enable easy integration with the JBoss
Enterprise Service Bus (ESB) and Java Business Integration (JBI) in the future.
I know its true, but don't you want to change it to 2.0 or 2.x? or Seam 1.0 and
Pete - yup i have @Name on all the componets.
Checking the debug window when it loads up i see it registering the component.
And it accesses it via the xhtml page, which it would not be able to do if it
wasnt.
Heck when i check the stack trace i see it passing through SeamBeanInterceptor
svadu Thanks but no. That seems to be only when you are accessing injected
components in constructors. Which would make sense since those objects cant be
injected before instantiation of the class.
Like .. here is a simple example that doesnt work -
@Name(joeBean)
| @Stateless
| public
Anyway never mind.
Looks like i have the issue resolved.
Something with the way it was building. Their must have been some error in the
building. I think it had to do with where it wsa placing webservices etc ... at
least thats what i adjusted.
View the original post :
Eh FWIW .. its somekind of configuration/deployment issue on my behalf when
upgrading from 1.2 to 2.0,
I launched my demo app and tried it, worked fine, so i know i didn't corrupt
the jboss server (which i once did with jBPM and had a nightmare time figuring
out why it wasnt working)
View
| @Logger
| private Log log;
|
i even tried
| @Logger(substanceSetRun)
| private Log log;
|
Then of course accessing it with log.debug ... but its the log object thats
null.
Interestingly enough I've noticed, that its only null when using it with a
Session Bean. When i am
you know, it looks like none of my injectable items are getting injected.
the interceptors are working because I do see them in the stack trace.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123187#4123187
Reply to the post :
Nice ... when is your target date for the GA release?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123195#4123195
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123195
___
Not sure why this is happening.
I upgraded our app from Seam 1.2 to Seam 2.0.
Went through the seam2migration document, adjusting items as needed.
Now for some reason @Logger does not inject anything, so the log is null and
hence throwing lots of NPE exceptions.
Any ideas as to why it could
So i have a SFSB AirlineService.
It has 2 datamodels on it, one for departure one for return.
Now obviously these display the same sets of information but have different
queries.
So i thought in the datamodel i'd switch a flag to know what is selected
.. like so -
| h:dataTable
smithbstl wrote : I skimmed the other book:Beginning JBoss Seam: From Novice
to Professional from APress before JBoss Seam: Simplicity and Power Beyond
Java EE was released. The APress book was pretty light on content. It looks
like it was just a rushed attempt to be the the first Seam book
This isnt really a seam question per se. But thought ya'll might know the
answer.
if you are doing in a query foo in (:list_values)
how do you do that in EJB3?
I know in hibernate there is a setParameterList on the query object ... i was
trying to passing varargs to it.
View the original
Just a quick comment.
The books may be out of date already (including the one i wrote) ... if you are
an experienced Seam developer.
However ... the books tend to go over a lot of the foundations and basics.
These items arent changing drastically. And the other items like iText, etc ...
once
[img]http://www.apress.com/ApressCorporate/supplement/1/10234/bcm.gif[/img]
http://www.apress.com/book/bookDisplay.html?bID=10234
Well the second (although apparently first to print) JBoss Seam book is being
released this month. All the chapters were sent to the printer on friday so it
should
I've actually been working on it Since June.
Just got soo busy with it never had time to request help on here for reviews
till later. The book will be about 320pages.
I was able to do a lot of changes in december in it to try and cover some of
the 1.1.0 changes that occured.
View the
Michael
yeah i really tried to push back on security till it was released, but we
couldnt. So what i have in the book is basically what was in CVS end of
December. It's somewhat correct, i am gonna update the source code for the book
though to use the 1.1.5 stuff.
I'll post the TOC
This is probably something obvious but i cant figure it out.
When i run the ./seam generate-entities
i get No driver found error. i was assuming it was going off the one we defined
in the setup. which i verified is there
Total time: 1 second
|
[EMAIL PROTECTED] wrote : anonymous wrote : Is new security ready to use now?
|
| No, that is still scheduled for 1.1.5. Note that the PDF stuff made it in
early 'cos Norman worked hard, but I expect there will also be a few
improvements to that stuff in the next release.
Any estimate when
Just wanted to add.
I'll be doing a Seam presentation for the Columbus JUG in February and Seam
presentation at the Cleveland JUG in March.
For the March presentation I should have a free copy of my Seam Book to give
away.
View the original post :
are there any examples anywhere of the Seam security for 1.1.5?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996227#3996227
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996227
yeah. just trying to figure out what to do.
I initially wrote my chapter about security before the latest changes. So a lot
of it isnt accurate right now. My updates to the chapter are due in a few days
that its in. So i was trying to figure out if i could get it enough to make
what i wrote
Might be something trivial.
But when i download and unzip the bundle on my Mac and try to launch it, it
asks me to choose the application to launch it with.
What am i doing wrong?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3995211#3995211
Reply to the
I am writing a Seam book due out in February.
Most of it is complete and i have a few technical reviewers for it.
However, I have no Seam knowledgeable reviewers.
If you would like to read a few of my chapters ... the more Seam intense ones
and give me any feed back I'd appreciate it.
I
Ok i have lookd at this for a while and maybe i am just not getting it. thought
i was but i cant seem to get the tasks to show up.
I have this business process definition -
| ?xml version=1.0?
|
| process-definition name=TicketingSystem
|
| start-state name=start
|
btw ... i switched to using DefaultDS instead of a specific database ... and it
seemed to work.
any idea why that owuld be?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3990864#3990864
Reply to the post :
[EMAIL PROTECTED] wrote : Thanks. Can you please advice what is the best way
to develop a AJAX application using SEAM?
|
| jsf with ajax4jsf?
| jsf with icefaces?
| jsf with rcfaces?
| any others?
jsf with ajax4jsf seems to work well with it.
You can even do some nice javascript
was going over some of the Seam security items (using @Secure) and declaring an
authenticator.
Now this only works on the components right? There is nothing right now that
does page level security?
I noticed on your issue log you have
anonymous wrote :
| The security framework for Seam:
or rather tempTicket.Id?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986673#3986673
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3986673
___
jboss-user mailing list
Just reading this real fast.
Shouldnt it be id
not ticketId?
I dont see where you are telling the ticket that the name is ticketId.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986671#3986671
Reply to the post :
Oh my bad.
I didnt see the page was loading the DataModel.
which example are you looking at btw?
On my pages i just linked back to the page itself using s:link.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986684#3986684
Reply to the post :
Just an FYI you could also post back to your original SLSB if you used just hte
s:link, and have that data populated there, and then use that to forward onto
your html page as well.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986688#3986688
Reply to the
thats not really the way you set the entity manager
You need to use the persistence context annotation to create it. (extended type
is optional)
@PersistenceContext(type=EXTENDED)
private EntityManager em;
View the original post :
totally unrelated to your question, but i never realized exception messages
were internationalized.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984904#3984904
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984904
[EMAIL PROTECTED] wrote : Do you have the files from embedded-ejb/conf in the
right place in your war?
I tried it two different ways
I took the files from embedded-ejb/conf on the Seam distro and tried to -
1) Put them in WEB-INF/classes
2) Jared them up and put them in WEB-INF/jar
(i also
btw ... i dont have it working yet ... but i have that other problem fixed.
Eh who knows must have missed a file i started over with the beta2 version
instead today.
Fyi - 12.3.1 says
anonymous wrote :
| Seam ships with a build of the Embeddable EJB3 container in the
embedded-ejb
[EMAIL PROTECTED] wrote : Seam 1.1.BETA2 is much less dependent upon EJB3, so
you can run w/o the ejb3 jars.
I am curious what do you mean by that?
Whats the big change?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984790#3984790
Reply to the post :
I know this error might not be very self explanatory but figured i'd ask
anyway
anonymous wrote :
| 1:10:00,890 INFO [Component] Component: person, scope: EVENT, type:
JAVA_BEAN, class: com.integrallis.ec.domain.Person
| 01:10:00,895 INFO [Component] Component: helloWorld, scope:
was curious, how's the work going with the Seam-WS?
I know the 1.1 is only in beta 1 was just curious how it goes.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3983611#3983611
Reply to the post :
that ajax integration :) great :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981002#3981002
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981002
___
jboss-user mailing
Oh. So you can make it so your invididual request are in a time based manner.
So if i want to make sure my server responds in 10 seconds regardless?
at least thats what i am gathering from this part of the doco
Allows the conversation timeout to be set per-conversation, and the
conversation
cja987 wrote : The conversation timeout controls how quickly open
conversations expire -- it's the direct equivalent of session timeouts, but for
conversations. It has nothing to do with server timeouts, which are specific
to the webserver. I imagine for JBoss, it would be somewhere in the
this may be dumb.
But is it getting confused with calling it like a getter?
with the getRoadTrips, and there not being a setter??
Just curious since if it was a problem with his deployment you'd think it would
have died on the first one. Besides usually you'd think it would die on the
first
I have a few questions.
was checking this out
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925063
So to make usre when you have variables that you mark as scope type Session. It
actually gets stored in the HttpSession as well?
Also ama i to assume that Stateful Session Beans and
thanks i think i had some older doc where it wasnt as clearly laid out.
or somehow i missed it cause i have read the doc i have had a few times.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3980212#3980212
Reply to the post :
seam has to have Java 5 since it heavily uses annotations
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3978911#3978911
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978911
___
pete yeah tahts what i thought.
And i realize the component stores all the attributes surrounding.
But just trying to figure out the sequence flow andi think i am missing a
disconnect where the SeamPhaseListner calls and the POJO/EJB is called ...
which i realise the SeamListener is
Thanks Basel, thats what i assumed from observing it.
Just wanted to make sure.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3963403#3963403
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963403
Somewhat of a small question.
Class A has -
@In(required = false, create = true)
private Message message;
However class A has no @Factory method.
Class B has a @Factory(message)
Message is a seam component
.. so when i run code to call Class A ... Class B's factory also gets called.
I
80 matches
Mail list logo