Either visitor or filter pattern works well for transactions
-Original Message-
From: ALAMI Ahmed [mailto:[EMAIL PROTECTED]
Sent: Mon 3/31/2003 8:57 AM
To: Struts Users Mailing List
Cc:
Subject: [OT] Design pattern
Why can't the tag or the tiles controller do something along the lines of instanceof,
if the property is a list-type, then process each member of the list to the page? I
thought everyone was getting away from scriptlets
-Jacob
-Original Message-
From: Cedric Dumou
Create an action that takes in the start id and the quantity to scroll over, and your
query (total of 3 params). Read up on your DB specific SQL language for specifying a
start id and max rows to return (not applicable for this mailing list). Enstate
whatever kind of caching you want, but leav
Why does no one use Jakarta's own OJB for persistence? I think it's the most
wonderful thing in the world, and the caching options with OJB are unbelievable.
-Jacob
-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Sun 3/23/2003 4:31 PM
-Original Message-
> From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2003 17:38
> To: Struts Users Mailing List
> Subject: [OT] RE: Modern Computing (was RE: [OT] Ancient computing)
>
>
> I love my lapt
> -----Original Message-
> From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 11:11 AM
> To: Struts Users Mailing List
> Subject: RE: Modern Computing (was RE: [OT] Ancient computing)
&
I have:
Sony GRV550 P4 2.4GHz Laptop w/ 512 MB DDR and 16" Screen w/ XP Pro
Server P4 1.5GHz 1GB RDRAM, 15" LCD, 200 GB HD with 8MB cache, Red Hat 8
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Wed 3/5/2003 10:18 AM
To: Strut
You want to look at taglibs -- standard aka JSTL, also follow the links to download
the user manual that includes a how to. In addition, the JSTL (standard taglibs)
download includes a deployable war that includes easy to follow examples of each tags
usage. You can easily do what you are doing
You can fly me to your offices and I will talk for 5 days on design patterns :-)
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Tue 2/11/2003 11:35 AM
To: '[EMAIL PROTECTED]'
Cc:
Subject: [OT - Java] Need a recom
request.setAttribute("collection", employeeList);
return new ActionForward("hello.jsp");
STRUTS:
Employee Name:
JSTL (Preferred):
Employee Name:
http://www.onjava.com/pub/a/pub/a/onjava/2002/05/08/jstl.html
-Jacob
-Original Message-
From: Scot Rob
I like Together much better than Rational for UML and sequence diagrams. For lazy
programmers, Together will take your jar and do all your diagrams for you, if you ask
it nicely.
-Jacob
-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Or an intern.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Mon 2/10/2003 12:05 AM
To: 'Struts Users Mailing List'
Cc:
Subject: RE: [OT] dummy data tool
Well, if you are using JDe
How would you even go about attaching a listener to the load time? That's something
that of course, would need to be presented at the client side and somehow tied into
the browser?
-Jacob
-Original Message-
From: Michael C. Clark [mailto:[EMAIL PROTECTED]]
Se
I've done the please wait page for uploads before, I made a div layer that sat on top
of the page when the submit button was hit. The layer that poppped up had an option
to cancel to prevent users from hanging on a bad request.
-Jacob
-Original Message-
From: Pani, Go
I agree with Andrew about jumping into it. Really though, you should become familiar
with J2EE Design Patterns, there are quite a few books out there to pick up. Once you
know the patterns, then things just come easier when you see people talk about Service
Layers and MVC, etc.
One good prac
I could send you my resume if you would like. The CS program I'm in starts you in
Java your first year and emphasizes on design patterns and software development. The
material is so up to date that the department even requested Simon Chappell (very well
known on the Struts-User mailing list) t
, Hookom, Jacob John wrote:
> Date: Tue, 14 Jan 2003 22:24:22 -0600
> From: "Hookom, Jacob John" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTEC
Is the resolution of this discussion that I shouldn't ever do something like this:
public interface Employee extends Serializable
public class EmployeeObject implements Employee
public class EmployeeForm extends ActionForm implements Employee
public ActionForward execute(.) throws ..
{
http://access1.sun.com/jdo/
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/19/2002 10:55 AM
To: 'Struts Users Mailing List'
Cc:
Subject: RE: Compliment Frameworks
> O/R is not a
OJB gets my vote too, it wouldn't be that hard to write/use a bean serializer like
Betwixt to turn your beans or your application/session/request scope variables to xml
for XSLT transformation. Stay clear of cocoon for now, I guess they are working on
revamping the thing from near scratch (or s
I'm looking for best practices for context based rollbacks. An example would be:
department.do?dptId=4559
-->submit on addEmployeeForm.do
-->error occurred, rollback to department.do?dptId=4559
Of course the departmentId would be passed in the employee form, so it could be passed
back in the fo
I'm looking for best practices for context based rollbacks. An example would be:
department.do?dptId=4559
-->submit on addEmployeeForm.do
-->error occurred, rollback to department.do?dptId=4559
Of course the departmentId would be passed in the employee form, so it could be passed
back in the
They are very good slides! They also cover ideas of abstraction and layering into the
Model, again very good stuff. The only problem with them is that you don't get
Simon's witty audio commentary with them ;-)
Jacob Hookom
Comprehensive Computer Science
University of Wisconsin, Eau Claire
That delightful picture is now hanging at the front of our CS lab ;-)
-Original Message-
From: James [mailto:[EMAIL PROTECTED]]
Sent: Mon 12/2/2002 9:56 PM
To: 'Struts Users Mailing List'
Cc:
Subject: RE: [Struts Tip] #18 - Use EJBs with
It wouldn't be too difficult to write your own softreference cache that would store
your collections.
That way, you can store as much as you want/ that the VM can handle
public class DropDownCache()
{
private Map map;
public Collection getDropDown(String key)
{
Collectio
Your multimap must be an instance of java.util.Map to get logic:iterate to
recognize/handle it properly.
-Original Message-
From: Mark Ayad [mailto:mark@;javamark.com]
Sent: Tue 11/12/2002 9:17 AM
To: Struts Users Mailing List
Cc:
Subje
Why not do a filter of some sort that catches requests?
Logic would follow:
boolean createJsp = false;
Select dateLastModified, destination from tbl_pages
if (!File(destination).exists())
createJsp = true;
else if (File(destination).lastModified() < dateLastModified)
createJsp = true;
Add a method to your bean that says "getFullName()" which concats the first name and
last name.
-Original Message-
From: Allison Sugar [mailto:allison.sugar@;datastay.com]
Sent: Mon 11/4/2002 3:16 PM
To: [EMAIL PROTECTED]
Cc:
Subject: d
automatic
You're too quick for me!
On Friday 25 October 2002 17:22, Hookom, Jacob John wrote:
> Most IDE's have it built in. I prefere Eclipse as an IDE and it's free at
> www.eclipse.org
--
Most IDE's have it built in. I prefere Eclipse as an IDE and it's free at
www.eclipse.org
-Original Message-
From: BARADAT Benoit [mailto:benoit.baradat@;cramif.cnamts.fr]
Sent: Fri 10/25/2002 2:49 AM
To: Struts Users Mailing List
Cc:
I guess I'm lost as to why CachedRowSet is a zero copy? The source code for the
basicPortal's still copies all the data into another, internal collection. Isn't that
copying the data or did I miss the definition of zero copy? With OJB, objects are
placed in a cache, so if you are querying the
to JSP can be fine if there is no pre-processing required on a page. Any
page that needs any setup should be called through an appropriate action.
Simon
-Original Message-
From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]]
Sent: Monday, Octo
that require no pre-processing, we used direct calls to the
JSP.
Simon
-Original Message-
From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 3:19 PM
To: Struts Users Mailing List
Subject: RE
Kael, this is MVC, you should never see *.jsp ;-)
We went over this before in lab
-Original Message-
From: Teh, Kah Loong
Sent: Mon 10/14/2002 3:15 PM
To: Struts Users Mailing List
Cc:
Subject: RE: action include or forward attribute
we are taught patterns in programming through example, which means we learn about it
one day in lecture, then we get an absurdly complex assignment to make sure we not
only know the pattern, but to also make sure that we have no social life. I can't
complain though, the program is nationally a
the
>Gang of Four.
>- Original Message -
>From: "Hookom, Jacob John" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Sent: Monday, October 14, 2002 2:12 PM
>Subject:
hat's the book he was referring to when he said GoF. They are called the
Gang of Four.
- Original Message -
From: "Hookom, Jacob John" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
you should pick up "Design Patterns - Elements of Reusable Object-Oriented Software"
by Gamma, Helm, Johnshon and Vlissides under Addison-Wesley Publishing
it's the bible for design patterns
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
I agree, from observing what others are developing, it seems that about 80% of the
applications are for intranets. I know even our campus is using struts for various
project management applications. Could we offer links to the sites? No. Is the
presentation layer what counts? No.
What woul
You are missing the fact that this is struts-users, not tomcat-users
-Original Message-
From: Tuan H. Le [mailto:[EMAIL PROTECTED]]
Sent: Fri 9/27/2002 6:45 PM
To: Struts Users Mailing List (E-mail)
Cc:
Subject: Cannot load JDBC driver
Look at the new dreamweaver instead of frontpage. It's a gui editor that allows the
imported template to lock aspects of the content, so you can save you db access.
-Original Message-
From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]]
Sent: Thu 9/12/2002 3:08
I've done the same thing with handling logins, but I put a stack in the session that
stores request tokens, so I can keep forwarding the user elsewhere and just keep
popping the requests off the stack as form tasks are completed (essentially rollbacks)
-Original Message-
42 matches
Mail list logo