Re: What is the status of OSGI (pref Equinox) and Struts2 integration?

2010-12-07 Thread Lukasz Lenart
2010/12/7 Andy Doddington a...@doddington.net: There seem to be several chat threads out there on the internet, but nothing more recent than around 2007. Given the obvious synergies between these two technologies, I find it hard to believe that nothing more has come of this. There are two

Re: Open Session in View, struts2.2.1, eclipseLink (JPA2)

2010-12-07 Thread Dave Newton
Configure it? I don't think I ever had to do anything in particular. Are you having a specific issue? Dave On Dec 7, 2010 2:03 AM, Ken McWilliams ken.mcwilli...@gmail.com wrote: Hello, Any advice on how to get Open session in View working with struts2? I've used spring but not well versed

Re: Asking about BigDecimal in Struts 2

2010-12-07 Thread Burton Rhodes
I always just used the following to display my BigDecimal values... s:property value=%{getText('format.money',{xaction.listPrice != null ? xaction.listPrice :''})} / package.properties file: format.money = {0,number,\u00A4###,##0} On Mon, Dec 6, 2010 at 9:29 PM, Yanto Bong yantob...@gmail.com

Struts2-plugin install error

2010-12-07 Thread Balwinder Kumar
I am getting below error while executing maven install. Any pointer how to fix? [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Struts Plugins [INFO] Struts 2 Spring Plugin [INFO] Struts 2 JUnit Plugin [INFO] Struts 2 Codebehind Plugin [INFO] Struts 2 Convention

Problem using json-plugin

2010-12-07 Thread developer researcher
Hello, I am using struts2 2.2.1 and the json-plugin for get data in json format fron an action. When the action creates the data directory there is no problem but when the action creates the data through a web service (using spring ws for create the cliente) occur exceptions: 1. Class

Re: Problem using json-plugin

2010-12-07 Thread Dave Newton
My initial guess would be that it's trying to serialize everything in the world. Maybe try serializing something explicitly? Dave On Tue, Dec 7, 2010 at 11:41 AM, developer researcher java.developer.researc...@gmail.com wrote: Hello, I am using struts2 2.2.1 and the json-plugin for

Connection Pooling with Struts

2010-12-07 Thread Anjib Mulepati
I have to do DB connection (Oracle 10g) in my application developed in Struts 1.3.8. Currently I am implementing JDBC. As far I understand this is not a good technique for real project. So I am hoping someone could suggest me how to do DB handling efficiently? Thanks Anjib

Re: Problem using json-plugin

2010-12-07 Thread developer researcher
Hello Dave, thanks for your answer In effect the problem was that I did not specify the objects to be serialized. I am also using the spring-plugin for IoC and I did not get care when building the getters and setters. I solved the problem using the JSON annotation and the field

Re: Connection Pooling with Struts

2010-12-07 Thread Johannes Geppert
in java you have the choose which way is the best for your project to handle databases. there exists several frameworks for this job like hibernate, myBatis, spring jdbc tempalate, ... . google for it and look which framework is the best for your project. Johannes anjibman wrote: I have to

Re: Connection Pooling with Struts

2010-12-07 Thread Anjib Mulepati
I was thinking for Hibernate. So only way for struts is use one of these framework? Anjib On 12/7/2010 3:26 PM, Johannes Geppert wrote: in java you have the choose which way is the best for your project to handle databases. there exists several frameworks for this job like hibernate, myBatis,

Re: Connection Pooling with Struts

2010-12-07 Thread Arthur Neves
Nop, You dont need using a framework... if you pick one just will make your life easier! If you`re starting a new project I`d get one framework, however if the project it`s already ready, just keep doing in the same way! On Tue, Dec 7, 2010 at 3:36 PM, Anjib Mulepati anji...@hotmail.com wrote:

Re: Connection Pooling with Struts

2010-12-07 Thread Dave Newton
Is the question about connection pooling, as the subject line indicates, or is the question about generic DB handling and JDBC v. ORMs? Dave On Tue, Dec 7, 2010 at 4:20 PM, Arthur Neves arthu...@gmail.com wrote: Nop, You dont need using a framework... if you pick one just will make your life

Re: Connection Pooling with Struts

2010-12-07 Thread Anjib Mulepati
Ok now I get confuse. I was thinking simple JDBC can't (or complex to ) handle connection pooling. So framework make work easy. If framework is not used what are other alternatives to handle connection pooling beside JDBC itself? Anjib On 12/7/2010 4:20 PM, Arthur Neves wrote: Nop, You

Re: Connection Pooling with Struts

2010-12-07 Thread Dave Newton
A connection pooling library? On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati anji...@hotmail.com wrote: Ok now I get confuse. I was thinking simple JDBC can't (or complex to ) handle connection pooling. So framework make work easy. If framework is not used what are other alternatives to

Re: Connection Pooling with Struts

2010-12-07 Thread Ty Connell
E.g -. http://commons.apache.org/dbcp/ On Tue, Dec 7, 2010 at 4:27 PM, Dave Newton davelnew...@gmail.com wrote: A connection pooling library? On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati anji...@hotmail.com wrote: Ok now I get confuse. I was thinking simple JDBC can't (or complex to )

Re: Connection Pooling with Struts

2010-12-07 Thread Anjib Mulepati
So I can use this DBCP Componenet instead of framework? Anjib E.g -. http://commons.apache.org/dbcp/ On Tue, Dec 7, 2010 at 4:27 PM, Dave Newtondavelnew...@gmail.com wrote: A connection pooling library? On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepatianji...@hotmail.com wrote: Ok now I get

Re: Connection Pooling with Struts

2010-12-07 Thread stanlick
Dude, I can't sit quietly any longer! How you connect to a database has NOTHING WHATSOEVER to do with the Struts/2 Framework. I would advise you to keep the two separated in your mind. Much like you wouldn't look to a Database connection to serve a web page, neither should you look to Struts/2

Re: Connection Pooling with Struts

2010-12-07 Thread Anjib
Dude I am asking about ORM tool not Struts framework itself. Please see the reply from Johannes. Thanks Anjib On 12/7/2010 5:19 PM, stanl...@gmail.com wrote: Dude, I can't sit quietly any longer! How you connect to a database has NOTHING WHATSOEVER to do with the Struts/2 Framework. I

Re: Connection Pooling with Struts

2010-12-07 Thread Dave Newton
On Tue, Dec 7, 2010 at 6:15 PM, Anjib wrote: I am asking about ORM tool not Struts framework itself. I think the point was more along the lines of why are you asking here, since you're not asking about the Struts framework. Dave

Re: Connection Pooling with Struts

2010-12-07 Thread Ty Connell
Then you should be asking on the appropriate list. http://www.catb.org/~esr/faqs/smart-questions.html#forum On Tue, Dec 7, 2010 at 6:15 PM, Anjib anji...@hotmail.com wrote: Dude I am asking about ORM tool not Struts framework itself. Please see the reply from Johannes. Thanks Anjib

Dependencies for Struts2

2010-12-07 Thread developer researcher
Hello, When I created my first application with Struts 2 I found the exception described in the attachment. Searching in the forums of the web I noticed that several had the same exception; following the suggestions I solved the problem by including the library 'javassist-3.7.ga.jar'

Re: Dependencies for Struts2

2010-12-07 Thread Dave Newton
Yes. Dave On Tue, Dec 7, 2010 at 6:27 PM, developer researcher java.developer.researc...@gmail.com wrote: Hello, When I created my first application with Struts 2 I found the exception described in the attachment. Searching in the forums of the web I noticed that several had the

RE: Dependencies for Struts2

2010-12-07 Thread Martin Gainty
Good Evening I checked the pom.xml forStruts core and see dependency groupIdognl/groupId artifactIdognl/artifactId version2.7.3/version exclusions exclusion groupIdjboss/groupId

Re: Struts2-plugin install error

2010-12-07 Thread Burton Rhodes
You may have a corrupt file in your local repository. Try deleting the C:\Users\Balwinder\.m2\repository\org\apache\struts directory and try again On Tue, Dec 7, 2010 at 10:26 AM, Balwinder Kumar balwinder@gmail.com wrote: I am getting below error while executing maven install. Any

RE: Connection Pooling with Struts

2010-12-07 Thread Martin Gainty
careful stan..he has a PhD from an Indian University! Martin __ Man1: in my next life I want to be an attorney from the Middle-East Man1: why do you want to be an attorney from the Middle-East? Man1: so i can work for an American Company Date:

Re: Asking about BigDecimal in Struts 2

2010-12-07 Thread Li Ying
I hate MS SQL Server~ 2010/12/7 Yanto Bong yantob...@gmail.com: Hi Mead, thanks for the suggestion, but we want to keep the minimum changes on the code. if we convert into string in jsp/view pages, there are quite a lot of changes. however we already change our formatting script in our