Wasanka Wickramasinghe [http://community.jboss.org/people/wasanka2000] replied to the discussion
"JBoss Cache as a standalone service"
To view the discussion, visit: http://community.jboss.org/message/557875#557875
--------------------------------------------------------------
Hi Navin,
Thanks for the quick reply and your comments about infinispan.
Yes I have not heard of Infinispan.
I have to use JBoss Cache since the project I'm working started about 2 years back and at that time it was decided to use JBoss Cache. That's the only reason why I need to seek solutions for JBoss Cache. The code that I need to write is an extension to it.
I will definitely read on infinispan :).
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557875#557875]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Navin Surtani [http://community.jboss.org/people/navssurtani] replied to the discussion
"JBoss Cache as a standalone service"
To view the discussion, visit: http://community.jboss.org/message/557867#557867
--------------------------------------------------------------
Udaya,
First step - since this seems like a new application that you're writing I'd suggest that you don't use JBoss Cache :) . JBC hasn't had any development going on it for at least a year or so now. All the new development is on http://www.jboss.org/infinispan/ Infinispan now. There is tonnes of documentation out there for you to go and read up on how to write up the application that you require using Infinispan.
Just out of interest, what's the reason that you decided to use JBoss Cache as opposed to Infinispan in the first place? Was it that you just haven't heard of it?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557867#557867]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Wasanka Wickramasinghe [http://community.jboss.org/people/wasanka2000] created the discussion
"JBoss Cache as a standalone service"
To view the discussion, visit: http://community.jboss.org/message/557861#557861
--------------------------------------------------------------
Hi,
I have a requirement to create and run a jboss cache instance as a standalone application. I have done this by creating a simple class with a main method to create and run the cache. Works fine and I can put/get data.
Now I need to write another java application to put data into this cache by communicating with the first program. These two programs are running in two JVMs.
What are the methods available for me to use? JMX? RMI?
Could someone please help with an example java code to get an instance of the cache from the first program?
Thanks,
Udaya
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557861#557861]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] replied to the discussion
"Standards supported by JBoss AS vs JBoss EAP"
To view the discussion, visit: http://community.jboss.org/message/557847#557847
--------------------------------------------------------------
AFAIK
JBossAS and JBossEAP support the same specifications.
But JBossEAP will be more stable. It is the platform for the JBoss support and significant JIRA bugs will be fixed with cumulative patches.
The EAP will follow more strict the JavaEE specifiaction.
Also the JBossEAP versions might be longer maintained as JBossAS versions.
JBossAS distribution might include new (instable) features or beta versions of upcomming changes.
If a patch is needed for this version you have to patch the source version according to the JIRA and compile your special JBoss version.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557847#557847]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] replied to the discussion
"JDBC inside CMT"
To view the discussion, visit: http://community.jboss.org/message/557826#557826
--------------------------------------------------------------
How do you connect?
Do you use a connection out of JBoss connection pool?
If you use plain JDBC, JDBC-connection-parameter and connection handling within the MDB, the DB access will be commited directly after the SQL-statement.
This is without respect whether the MDB call is successful or not (and might not what you want).
If you have to use plain JDBC, use a DataSource and set the MDB CMT to REQUIRED.
In this case the action is only commited if the MDB return without an exception.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557826#557826]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"History details"
To view the discussion, visit: http://community.jboss.org/message/557819#557819
--------------------------------------------------------------
Hi HuiSheng,
if it comes to previous activity you can find them using already available HistoryActivityInstanceQuery. The only disadvantage is that you will get both already finished and active activities. What we could do here is to introduce new parameter to narrow down the search to finished activities only, so result will have all activities that the process has already completed.
What do you think about it?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557819#557819]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
swaroop kumar [http://community.jboss.org/people/swaroopp] replied to the discussion
"Hey I want simple steps to run an ejb sample application?"
To view the discussion, visit: http://community.jboss.org/message/557803#557803
--------------------------------------------------------------
Actually i Have a system.out.pritnln in my beans method and i expect it to print in the same console but i was wrong it is printed in the server's console..
Thank you very much to be in part of my discussion ..i rated u for the correct answer...and i was struggling for this simple issue...
Thanks once again friend
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557803#557803]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]