0
votes
0answers
7 views

EJB Session Bean / Client Hibernate Session interaction?

in a school project we are using an EJB Session Bean, this EJB offers simple services such as add, delete, modify, findAll, findbyId. Such methods are implemented using hibernate 4.0 (add -> ...
0
votes
0answers
9 views

Unable to search journal article in liferay portlet using search util

I am using the below code but it is not able to search the journal article/web content in liferay 6.1 package com.abp.portlets; import java.io.IOException; import ...
1
vote
2answers
18 views

Rest service throws exception : Best way to handle

I have a rest service which will throw an exception and I want to know what will be the best way to handle this. So I have a rest service which can throw a userdefined exception and I am catching ...
1
vote
0answers
15 views

Servlet to Spring Servlet: Is it possible to implement GET method using Spring's HttpRequestHandler?

I'm updating a regular Servlet to a Spring kind Servlet. To accomplish this I followed these instructions that say I should implement HttpRequestHandler. That's great and works for my Servlet because ...
0
votes
1answer
37 views

What is the significance of currentStyle

Can you tell me in CQ5, the exact use of currentStyle. I have one line like int absParent = currentStyle.get("absParent", 3); May I know what currentStyle will do here.
-4
votes
1answer
16 views

Encryption and Decryption of image in java using DES [closed]

I want to encrypt and decrypt a image file in J2EE using DES algorithm and how to display encrypted image in web browser.plz help me... Thankx in advance...
0
votes
0answers
26 views

535 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account

I have a simple mail application on java, which was working perfectly before. But now the program throws 535 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account my ...
0
votes
4answers
44 views

Pick up only fully written files in java

I have a directory in aix which will receive files from a external application. My java program should pick only those files which are completely written by the application.It should not pick the ...
0
votes
3answers
22 views

Issue in calling DAO method from Service

I have a DAO that has method like this: class AbcService { private AbcDAO isntance; public void getStuff() { instance.getQueryResult(); } } Now if this method is called from anywhere ...
-1
votes
3answers
29 views

can't find why loop don't go inside my condition in my java serrvlet

@Override protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub WorldDBManager DB = ...
0
votes
0answers
18 views

Glassfish login from database doesn't work

I'm having problems trying to log in to a Glassfish application using users from a MySQL database. I have the following Security settings: Realm Name: InvoiceRealm Class Name: ...
0
votes
0answers
20 views

Reuse security credentials from HttpServletRequest

I'm in Java using JBoss and I have an environment where I'm creating an HttpServlet, and from within that HttpServlet I would like to get information from another URL using an HttpsURLConnection. In ...
0
votes
0answers
20 views

java linkage error while adding module

I am using JBOSS AS7 . I have a war deployment which needs a jar for one of its functions. Since it has to be used by other deployments , i need to add it through modules . here is what i did: ...
0
votes
1answer
43 views

@RequestMapping does not work on methods when I have annotated the controller

I have annotated the controller with a requestmapping. I also annotated the method with another requestmapping, however it doesn't seemed to get mapped. I am using Spring 2.5. ...
1
vote
1answer
47 views

@RequestMapping does not work on type and method in Spring 2.5

I have been reading on Spring 3.2 lately and I am now trying the following code using Spring 2.5. From what I have read this should mean that it should map profile/tags/me. However it doesn't. It just ...

1 2 3 4 5 498
15 30 50 per page