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
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
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
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
-
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
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
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
, 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
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
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
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
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
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
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
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]]
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.
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
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
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
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:
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
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
22 matches
Mail list logo