Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Madhava Reddy Solipuram

Greenhorn
+ Follow
since May 24, 2011
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 Madhava Reddy Solipuram

The problem is handling the exceptions in service layer. After removing try catch transaction worked normally
9 years ago
Hi all,

I tried AOP transaction in stand alone application its working, but its not working in web application.
Can any one suggest me i followed same approach for both the ways.
9 years ago

James Boswell wrote:I think you need



Thanks for your quick replay.
I tried that also but no change when an exception is raised data is not rollbacking.
9 years ago
Hi all,

I am trying to use spring AOP for transaction support in service layer, but it's not working please provide me the solution.

In my application i am using spring and hibernate.
following steps i have done to implement the transaction if i have missed any thing please guide me.

class PersonServiceProvider{
public void createPerson(...){
.....
calling the persistence layer for storing
eg personPersistence.save(..);
addressPersistence.save();
}
}

in each persistence layer am using the hibernate transaction for saving the data.
and xml configuration is
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="createPerson*" rollback-for="Throwable" propagation="NESTED"/>
</tx:attributes>
</tx:advice>

<aop:config>
<aopointcut id="fooServiceOperation" expression="execution(* com.user.service.PersonServiceProvider.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="fooServiceOperation"/>
</aop:config>

when an exception is raised in middle of PersonServiceProvider createPerson() method it's not rollbacking the data.
what should i need to rollback the data if an exception is raised.
9 years ago
Hi friends,

I have one requirement in my project that is i have to change the functionality of input-date tag of liferay-ui.tld.
The handler class is InputDateTag.

According to my project i have to disable the previous dates and enable the dates from today dates onwards
by using input-date tag. How can i change in InputDateTag class is it possible to change the functionality
of input-date tag.
10 years ago
Hi friends,

[size=9]I have one requirements in my project that is
i have to disable the previous dates and i have to enable the
dates from today onwards in[size=18] liferay-ui.tld input date attribute
.
How can i change that i have seen the code of InputDataTag class
Is it required to extend the InputDataTag class or is there any
other alternative to change the input-date attribute functionality.[/size][/size]


10 years ago
Hi,

I am developing one service.xml for servicebuilder.
While developing in NetBean IDE6.x i didn't getting the option
portal plugin option after selecting the server.
I am developing service.xml for liferay portlets.
So anyone tell me how to add portal plugin to NetBeans.
Hi Friends,

I am new to liferay portals. In my project i want to customize the date functionality.
How can i customize date functionality.
What is the procedure to customize the date in liferay-ui.tld.
10 years ago
How to integrate Struts 1.x and Hibernate 3.0.
I am new developer can anyone tell me the correct way.
Where we have to create Session and all of the hibernate objects.
10 years ago
Hi,
I am a fresher looking for job in java.
May i know the common problems we face while developing the java project in servlets.
10 years ago
I am a fresher. i am looking for job in java field.
Could any one tell me the common problems we face while developing the java project.
specific to servlets, JSP, JDBC.
10 years ago