Thank you very much for help. We will certainly try BoneCP, their bencmark looks good.
Type: Posts; User: Alexandr.Kormiltsyn; Keyword(s):
Thank you very much for help. We will certainly try BoneCP, their bencmark looks good.
Hi all!
We have a web application for Postgre database. During the testing we used org.apache.commons.dbcp.BasicDataSource. Now we need moving to production and we should change this basic...
Hello.
I have 3 tables in DB. 2 for entities and one for the relations between them. I have 2 java classes:
private static final long serialVersionUID = 1L;
@Id
@SequenceGenerator(name...
Finally I found solution. Changing the the param name declared in flow to the same wich was define in a controller method solved the problem.
Hi all,
I have a flow with submitting data. There is a checkbox on the confirmation form, showing that user agrees with terms and conditions. I have created a bean for validation parameters:
...
Thanks for the answer. I have finally solved this problem. The .xhtml uses templates and one of the templates included the block for messages, so they were shown twice.
Hello.
I have a question about primefaces messages. I have a flow where user can change his password. Before it is saved to database validation takes place. If the validation fails error messages...
Hello.
What is the best way to give user an ability to select database in application welcome page? Now we have defined connection in xml context and only developers can change the connection...
Hello.
I have a trouble with showing view in flow's end state. Flow is for creating new object and saving it to database.
The flow:
<?xml version="1.0" encoding="UTF-8"?>
<flow...
It's very interesting to hear about spring approach. Could you please give some more information about that?
Thank you for the answer.
I have solved this problem. In the web.xml
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>...
Hi all.
I have a trouble with creating login process in the application which uses Spring Security, Web Flow and JSF. I have all faces files inherited from the same template. I have also created a...
Finally I have found another decision. Have installed Subclipse. Then checkout project from svn and convert it to maven. Now it works. The way with checkout maven project from scm does not work.
Hello.
I am using STS (version 2.5.0.RELEASE) and windows 7 64 bit. I have installed Subversion plugin for SVN (ver 1.8.1).
When trying to checkout project from svn I receive error message.
...
Thanks for the explanation. What is bad in this code? It is not a whole parser it is just a one small part of it. The structure of XML is not developed by our company, so it is really hard to parse...
Hi,
I have written own Util class where I have static method:
public static String getBodyElement(SOAPMessage msg) {
String msgString = getStringFromMessage(msg);
if...
Hi,
I am using DriverManagerDataSource datasource in my servlet to connect to Oracle. Is it possible to set some property or some other way to show all sql in the System.out for debugging? Is it...
Hi all!
I have to write ws client and I have wsdl from web service provider. As I have understood, you cannot generate spring ws client directly from wsdl and you have to use wsimport utility from...
Sorry for this post. Actually the problem was with the other bean. I have added second bean in the context, but forgot to add @Qualifier to old services. My fault.
Hi all,
I have two classes implementing the same interface. I have described them in a xontext xml as 2 beans.
<bean id="transporter"...
To connect to oracle in your Spring project you need:
1. Add this dependency to your pom.xml:
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc14</artifactId>
...
Hello all!
I have a problem integration JSF2.0 as a view technology to spring webflow. I managed to get it "almost" working, the only thing left is configuring ajax support for JSF2.0.
Ajax...
You are actually right. It was the first tme I have configured such type of logging so I have made some mistakes. Now all is ok and configuration file looks like
<?xml version="1.0"...
Finally I have found a solution. maven dependency should be set like
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
...
Hi all.
I have a spring-ws application. It is a simpel web service, that is placed between legacy systeem and external clients. It uses a SOAP as an input and generates the SOAP message to be sent...