Ariram Kalimuthu

Greenhorn
+ Follow
since Jul 17, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ariram Kalimuthu

Sorry, i didn't mention clearly.

i wanted to know about some tech/framework to develope a gui like .NET WCF/WPF?

Thanks in Advance!!!
13 years ago
Hi Friends,

To build a Desktop GUI like .NET WCF/WPF

Which is the best framework/technology to achieve this?

Please help me!!

13 years ago
Hi Folks,
i need a clarification on below Transactionattributre in EJB 3

@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)

EJB container will create the new tarnsaction for any requests, if we use the above attribute.

My Question is,
It is required to use for only insert, delete,and update operation from database.
shall we use for fetch(select * from table) operation in database?

ie., if we use the for fetching operation, container will create new transaction.

JTA will be taking care about rollback/commit related operations.
but my case there is no chance to happen rollback operation

Please suggest me to shall i go a head to use this attribute in my EJB ot not?

Thanks in Advance!


Hi,
I am deploying EAR and WAR in clustering mode and i placed my two files which are mentioned earlier {jboss.dir}/server/all/deploy folder
After Starting the JBoss. [i couldn't find any issues with EAR and WAR deployment].

EAR have some business logic and i am calling that from WAR by remote call.

EAR: EJB application
WAR: Struts-Tiles Web Project

While opening my Web application by providing url in browser it's throwing following exception.


Anyone Please help me out!...

Thanks!.
13 years ago
Answer for Q1 - No (i am not sure)

Answer for Q2:

i also doing like that what you mentioned.

before that, you should configure the interceptor as default-interceptor

please do the following steps:

1). interceptor.

public String intercept(ActionInvocation actionInvocation) throws Exception {
ActionContext context = actionInvocation.getInvocationContext();
Map<String, Object> sessionMap = context.getSession();
//System.out.println(" retrived session "+ sessionMap);
if(sessionMap == null
|| sessionMap.isEmpty()
|| sessionMap.get("SESSION_SERVICE") == null) {
System.out.println(" session expired...");
return "SESSION_EXPIRED";
}

String actionResult = actionInvocation.invoke();

return actionResult;
}


SESSION_SERVICE - one of the attribute we are setting after user login.
if the session expired, session object will be null [if struts creates the session object our attribute won't be there]

2). struts.xml


<interceptors>
<interceptor name="tstSessionInterceptor" class="package.SessionInterceptor"/>

<interceptor-stack name="tstSessionCheckStack">
<interceptor-ref name="tstSessionInterceptor" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>

<default-interceptor-ref name="tstSessionCheckStack"/>

</global-results>
<result name="sessionexpired" >sessionexpired.jsp</result>
</global-results>



thats what i have implemented.

it's working fine.

please revert back, if any issues.

thanks
14 years ago
Yes!..

I got it!.

Thanks Nishan Patel and Sagar Rohankar
14 years ago
JSP
Hi guys,
Could anyone provide suggestion/guide me to get shortcut option in submit button?

let me explain through the code,

Submit Button:
HTML Tag:
<input type="submit" name="login" value="Login" />

is there any attribute saying the shortcut for the Login button would be any of the character of Login?
<input type="submit" name="login" value="Login" shortcutChar="L" />
Login


14 years ago
JSP
As Vijitha said , HFSJ is very gud book for SCWCD.

All the best Karthick!.

thanks vijitha!
14 years ago
Congrats !.............


14 years ago
Congrats!...............
14 years ago