This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Websphere and the fly likes New to Websphere - J2EE Project. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "New to Websphere - J2EE Project." Watch "New to Websphere - J2EE Project." New topic

New to Websphere - J2EE Project.

Mayuri Roi

Joined: Oct 12, 2004
Posts: 23
Hi, Recently I started working on a project that was developed by some other team. This Project is developed using
velocity - Struts - Session Facade - DTOs - EntityBeans (CMP) - DB2 8.1

AppServer: Websphere 5.1

I am in a situation where I need to add few fields to a form in the front end and store the data of new fields in a single table. Wondering how I should proceed with it. Any suggestions will be appreciated.
This is what I thought I should do, but wondering if there is any better approach to accomplish this.

1. Add fields (new columns) in the table.
2. Update Entity Beans. Related queries etc.
3. Update DTOs.
4. Update Session facade.
5. Update Struts Actions, Controllers etc.
6. Update Velocity pages.

Not sure if this will work. Or wondering if there is any other way that I should follow in Websphere Studio App Developer such as add fields in class diagram and then generate DDL etc.

Thanks.<br />Mayuri
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
your approach is right and there are no workarounds for ur problem. Can you explain in general about DTO, Session Facade and other design patterns u have used for your project ...

RR Kumaran
SCJP 1.4
Mayuri Roi

Joined: Oct 12, 2004
Posts: 23
Don't get me started about those stupid light bulbs.
subject: New to Websphere - J2EE Project.
It's not a secret anymore!