-3
votes
0answers
24 views
BaseDao class (jdbc) [closed]
i've a question about a BaseDao class (jdbc) ,that Access of course the data base, and be inherited by other classes (have the same fields ) that need to access to the data base . the question is how ...
0
votes
0answers
25 views
Long Java processing causes error in Flex
I have a Web Application (Java + Flex) where I upload a csv file with a large number of rows, and process it and insert in database. It takes more than one hour to finish processing, but Flex gives me ...
0
votes
1answer
17 views
SearchControls in java naming - anyone have any experience with this query optimizer?
I'm curious as to what benefits SearchControls (in javax.naming.directory) gives me to my LDAP query.
As I understand Scope = ONELEVEL_SCOPE will give me performance improvements if i know my ...
1
vote
1answer
18 views
Custom CharacterEscapeHandler defined in JaxBMarshaller works in Jetty, but not in Weblogic
The version of web logic is 12c.
So we were having the double & issue with the JaxBMasheller so we defined our own CharacterEscapeHandler, to essentially do nothing:
...
0
votes
1answer
15 views
Call a method on successful transaction in EJB 2.0
I have been working with ejb 2.0 for past 2 years on my application and suddenly stuck with a problem where I just want to call a method before and after transaction to database.
I am sure EJB 3.0 ...
2
votes
1answer
27 views
What shall I mention for the 'name' attribute ? Why this validation error?
I am trying to make a one-to-one relation between Country class and PM class.This is the xml mapping I tried to
make.But there is something wrong with the xml as the error says.
Attribute "name" is ...
0
votes
3answers
35 views
Calendar.getTime() not returning UTC date if TimeZone is defined
I have did this for my Calendar instance to return Date in UTC timezone
SimpleDateFormat formatter = new SimpleDateFormat("dd-MM-yyyy HH:mm:SS Z");
TimeZone tz = ...
0
votes
2answers
32 views
Proper Java Project Structure for an Enterprise Application [closed]
I am newbie to Java. In Visual Studio you have options to create sub-projects under a single project, wherein these sub-projects can be of different types like web, ER etc. This allowed me to create ...
0
votes
0answers
12 views
Form-based authentication with servlet 2.5
I am working on a form-based authentication and using following statements. I have realized on the way of implementation that HttpServletRequest->login method comes with servlet 3.0.(with help of ...
1
vote
2answers
24 views
NetBeans doesn't see style.css
I have a Servlet/JSP webapp. So now I am having troubles in pointing NetBeans to my style.css file. If stylesheet is being placed in WEB-INF or META-INF or outside them in Web Pages dir - everything ...
0
votes
1answer
16 views
Using Servlet 3.0 with Weblogic 10.3
I am working on a form-based authentication and using following statements. I have realized on the way of implementation that HttpServletRequest->login method comes with servlet 3.0.(with help of ...
1
vote
1answer
32 views
What does the 'sort' attribute do?
Following is the snippet from the hibernate mapping file, of the class named m1.
<class name="pojo.m1" table="m1">
<id name="r_no">
<generator class="increment" />
...
1
vote
0answers
39 views
how to separate system generated logs in java(log4j)
hi how to separate system generated logs in java
i have used the following code
Logger log=Logger.getLogger(SmartLogger.class);
Logger log1=Logger.getLogger("com.kk.*");
Logger ...
-2
votes
0answers
11 views
How to integrate the swagger in my maven project [closed]
Can anyone help me in HOw to integrate the swagger in my maven project
Tutorial links and references are invited..
thanks in advance.
0
votes
2answers
27 views
Calling SQL server 2008 Stored Procedure from Java
I have created the following stored procedure in SQL server 2008
Create PROCEDURE countInfected @infected int out
AS
Select @infected = COUNT(*) from userInfo where userID NOT IN (Select userID from ...