RE: .JSP / .ASP Integration

2002-06-07 Thread Pruthee, Ranjan
Jerry, I don't think you are screwed albeit to say that I will be complex. I myself has done lot of development using ASPs and fully understand what you want to do. Here are couple of things u can do - 1. U are right that u can use web services to talk to ur ASPs. But what part of Web

RE: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Pruthee, Ranjan
Are u using EJBs or pure JAVA DAOs? If you are using EJBS, then u should not pass the actual beans and thats why Value Objects are used. Multiple calls to EJBs should be avoided. U can pass VO from the BO functions to the DAO. U are right that passing the values in the functions as u have done

RE: Re[2]: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Pruthee, Ranjan
To be more clear with DTO and its usage check this - http://www.martinfowler.com/isa/dataTransferObject.html. U might want to check on the J2EE pattern called ValueObjectAssembler. -Ranjan -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002

RE: ServletException

2002-05-28 Thread Pruthee, Ranjan
check and see if u have ApplicationResource.properties in your workspace and is pointing to the right directory structure.. -Original Message- From: Michael Welter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 4:41 PM To: [EMAIL PROTECTED] Subject: ServletException I'm

RE: DAO- BO in Struts

2002-05-16 Thread Pruthee, Ranjan
- From: Pruthee, Ranjan [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 4:23 PM To: Struts Users Mailing List Subject: RE: Forms Beans and DAO (Best Practices) The way I do it is - BO -- DAO ---returns the recordset and not ValueObject. This RS is passed back to the BO. which passes

RE: populating list for html:options tag within FormBean

2002-05-15 Thread Pruthee, Ranjan
It is not a good practice to have DB calls in ur Action class. Action Class belongs to web tier and it should call db layer thru' Business objects via a Business delegate. There was a good thread couple of weeks ago on this. After the call is made to the Db and results are returned, u can

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Pruthee, Ranjan
In general, I use the Struts action classes as proxies to my business objects and my business objects serve as proxies to my data access objects and I pass data across tiers using DTO (DataTransportObject [use to be ValueObject]). In this fashion, I can keep my business logic reusable in say

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Pruthee, Ranjan
, but shouldn't these things be in the data access objects? Graham - Original Message - From: Pruthee, Ranjan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:25 PM Subject: RE: Forms Beans and DAO (Best Practices) In general, I use the Struts action

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Pruthee, Ranjan
Message- From: Pruthee, Ranjan [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 3:25 PM To: Struts Users Mailing List Subject: RE: Forms Beans and DAO (Best Practices) In general, I use the Struts action classes as proxies to my business objects and my business objects serve as proxies to my

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Pruthee, Ranjan
the Value Object through the action form. Then Calls BO.create(VO) 3. The Business Object then calls the DAO.create(VO). The same for updating the BO in the edit mode ( through BO.update(VO) which then calls DAO.update(VO). Jayaraman -Original Message- From: Pruthee, Ranjan [mailto:[EMAIL

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Pruthee, Ranjan
Architecture is built through the use of design patterns. collection of appropriate patterns can lead to reusable business architecture. Just my thoughts. -Ranjan. -Original Message- From: bhatia10 [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:37 AM To: Struts Users

RE: some help ...

2002-04-26 Thread Pruthee, Ranjan
Go thru' these links one by one http://www-106.ibm.com/developerworks/library/j-struts/index.html http://www.jspinsider.com/tutorials/jsp/struts/jspdesign.view http://www.onjava.com/lpt/a//onjava/2001/09/11/jsp_servlets.html http://www.onjava.com/lpt/a//onjava/2001/10/31/struts2.html

RE: Cannot find message resources under key org.apache.struts.action.MESSAGE

2002-04-22 Thread Pruthee, Ranjan
Check your *.webapp file for the path of the application resource. It is defaulted to Struts resource package. U need to specify the actual package hierarchy that u specified in the resource tab. like com.testcom.myapp.resources.ApplicationResource. Also copy this file in directory

RE: employeelist Applicatiion

2002-04-17 Thread Pruthee, Ranjan
oject_resources\\IBM WebSphere Test Environment\\temp\\JSP1_1\\employeelist\\etc\\\web_2D_inf\\_index1_xjsp_debug.dat"); -Original Message----- From: Pruthee, Ranjan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 12:19 PM To: Struts Users Mailing List Subject: RE: VisualAge for

RE: Struts and websphere 3.5 location of struts-config.xml

2002-04-12 Thread Pruthee, Ranjan
Check you default.servlet_engine for the path in the webgroup for ur appp. Look for path in classpath. Also it is looking for strits-config.xml or struts-config.xml? I think it might be a typo. Thanks, -Ranjan -Original Message- From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]]

Action Facade

2002-04-10 Thread Pruthee, Ranjan
Hello, Any recommendations on how to write Action Facade for Struts? I mean what all it should do to be a facade for the actions. Design strategies? Thanks so much, Ranjan.

RE: diff applications diff struts-config.xml files

2002-04-09 Thread Pruthee, Ranjan
Radhika, U can have multiple Struts app running on your server. For example, under ur default_host directory, u can have directory structure as - default_host | |--app1 |--app2 Each of these app will have its own struts-config.xml and web.xml. U need to add the application in

URGENT: Websphere 3.5 Struts 1.0

2002-04-09 Thread Pruthee, Ranjan
Hello, Does anyone know if single servlet model - Struts can have security concerns in Websphere 3.5? We need to provide role based security using the URIs. What are the downsides of it? In Struts all the actions are mapped as .do and it has only one servlet. Websphere security defines

RE: URGENT: Websphere 3.5 Struts 1.0

2002-04-09 Thread Pruthee, Ranjan
with EJB's that you can take advantage of the role based security that EJB's give -- just call EJB Facade methods from your Action objects. Kyle Pruthee, Ranjan [EMAIL PROTECTED] on 04/09/2002 10:44:21 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:[EMAIL PROTECTED

RE: URGENT: Websphere 3.5 Struts 1.0

2002-04-09 Thread Pruthee, Ranjan
Hello Mark, What if we don't want to use EJBs? In our app we don't feel the need of using EJBs right now. Thanks, Ranjan. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 10:01 AM To: 'Struts Users Mailing List' Subject: RE: URGENT:

Struts Websphere 3.5

2002-04-05 Thread Pruthee, Ranjan
Hello, Does anyone know if single servlet model (Struts) can have security concerns in Websphere 3.5? We need to provide role based security using the URIs. What are the downsides of it? Has anyone implemented Struts in Websphere 3.5 with security on URIs? What are the alternatives? Any

Struts Websphere 3.5/4.0

2002-04-04 Thread Pruthee, Ranjan
Hello, Does anyone know if single servlet model - Struts can have security concerns in Websphere 3.5/4.0? We need to provide role based security using the URIs. What are the downsides of it? Thanks so much, -Ranjan