Kiran Srinivasa

Greenhorn
+ Follow
since Jul 07, 2009
NY
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 Kiran Srinivasa

Hello Ed and Chris,

I enjoyed reading your definitive book on JSF 1.2. Your new book on JSF 2.0 is on my must-read list.
My question is that does your book provide a migration path/checklist to upgrade from JSF 1.2 to JSF 2.0?
Also is there any real advantage to upgrade since we are already using RichFaces for ajax support and for components.

My current project is using JSF 1.2 and RichFaces and we would like to upgrade.
However we need to perform a complete analysis so as to not break a working project.

Regards
Kiran
8 years ago
JSF
Thanks a lot for clarifying my doubts, Deepak. It was a pleasure interacting with you.
8 years ago
Thanks Deepak.
However it comes back to my basic question. The Value Object is used in both the EJB as well as the EJB client(in this case a JSF managed bean).
It is not however possible to define it in both places. In my case I have the jsf managed bean(VisitingScholarDetails) itself as the VO for the EJB. Is it a good practice to define the VO in the web tier or should we define it in the EJB tier and reuse it in the web?

Regards
Kiran
8 years ago
Thanks a lot , Deepak. Setting the dependencies of the View Controller in the Model helped.
However I had one more question. When I build in the ejb -jar should I include the view controller classes also?
8 years ago
Hi Experts,

I have a basic question.
I am using Jdeveloper 11g and have divided my application into 2 projects (Model(ejb's) and Viewcontroller(jsf+managed beans etc)).
The model project has a stateless session bean(named VisitingScholarBean) which uses a backing bean class(named VisitingScholarDetails) defined in the ViewController project.
The relevant Method in the stateless session bean is public void saveVSDetails(VisitingScholarDetails vsDetails).
Now the issue is that the VisitingScholarDetails class is part of only the ViewController project.
So when I try to run the application it gives an error saying that


I cannot replicate the same VisitingScholarDetails class in both projects.
Please let me know how to include the VisitingScholarDetails class in the ejb-jar without replicating it in the Model and View Controller projects.
Thanks for your time and help.

Regards
Kiran
8 years ago
Sorry for the typo, my previous question was, is there any equivalent of pageFlowScope in JBoss RichFaces.

Regards
Kiran
8 years ago
JSF
Thanks Gopi, is there any equivalent of pageScope in JBoss RichFaces?

Regards
Kiran
8 years ago
JSF
Or maybe a Map in session would work with the key as the employee id and the value as the employee bean object.
Please let me know if there is any standard mechanism of implementing this feature in JSF.

Regards
Kiran
8 years ago
JSF
Hi,

I am new to JSF and facing the following problem.
My application is a HR app in which HR rep's can edit employee info.
I am required to allow the HR rep to edit multiple employees in the same session.
For eg : the HR rep should be allowed to edit employee A's personal details and in the same session do a CTRL-N, open a new browser window and edit employee B's personal details.
I am stuck here since using a bean (say UserBean) in session scope does not work as it overwrites the user data of employee A with that of emp B.
I cannot keep the bean in request scope since the HR rep can move back and forth the edit page and the edit confirmation page.
Please help in this regard. Can i use a list in session scope. Just an idea but could not figure out how to do it.
8 years ago
JSF
Arul, Jeanne,

Thanks a lot for your replies. I have the necessary information to make a considered decision.

Regards
Kiran
Hi,

We are currently debating on whether to use EJB3 or Spring in our application. From what I see Spring has an edge in that it provides a light weight framework which has the following advantages
1) Allows to make any POJO transaction-aware using AOP.
2) Persistence : Provides support to different ORM's. Also wraps JDBC API to make it more usable and eliminates boiler-plate code.
3) IOC and Dependency injection provides advantages in promoting a clean way of configuring dependencies and also to promote the 'implement to interface' paradigm.

Sounds like Spring is the next best thing to sliced bread but I am genuinely interested to know what factors would make EJB3 a more attractive proposition as compared to Spring.

Any help would be greatly appreciated.

Regards
Kiran
Hi,

I am a JSF newbie and with the myriad number of choices for JSF Component Frameworks it is getting confusing.
I would like to choose a framework which is open source, easy to use and well documented.
Please let me know which of the following component frameworks is best suited - Apache Tomahawk , Apache Trinidad, IceFaces, Rich Faces or any other framework. Any help would be greatly appreciated.

Regards
Kiran
8 years ago
JSF