Re: I was involved with struts v1. But today I am doing something new

2018-06-21 Thread Vic Cekvenich
Wrong link.
This is the link:

https://www.meetup.com/tech_product_managers/events/251931514/

Anyway, I think it makes webapp 10X faster and I'm not the only one.
Cheers,
Vic
On Thu, Jun 21, 2018 at 11:28 AM Vic Cekvenich  wrote:
>
> Still open source. A meetup in NYC on the topic, check out, you'll like it.
>
> https://www.eventbrite.com/e/silicon-alley-nyc-startup-tech-summer-networking-mixer-tickets-46683247851?aff=mu

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



I was involved with struts v1. But today I am doing something new

2018-06-21 Thread Vic Cekvenich
Still open source. A meetup in NYC on the topic, check out, you'll like it.

https://www.eventbrite.com/e/silicon-alley-nyc-startup-tech-summer-networking-mixer-tickets-46683247851?aff=mu

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: ot ann: Learn Flex anyone?

2008-11-22 Thread Vic Cekvenich
Last self promo: now an online class coming up at proj.com.

bye list, it was good to me over the years, now starting to build flex
community at ... http://proj.com.

.V
email: vic AT proj dot com

On Sun, Oct 19, 2008 at 2:14 PM, Vic Cekvenich <[EMAIL PROTECTED]> wrote:

> hello list, I used to teach struts a few 5 years ago.
> I am now teaching flex at:
>
> email me for other questions.
>
>
> .V
>


ot ann: Learn Flex anyone?

2008-10-19 Thread Vic Cekvenich
hello list, I used to teach struts a few 5 years ago.
I am now teaching flex at: http://papervision.proj.com - an sf class coming
up on 11/20.

email me for other questions.


.V


Re: What's wrong with DTOs?

2005-10-18 Thread Vic Cekvenich

+1.

.V


Christian Bollmeyer wrote:

[EMAIL PROTECTED] schrieb:

+1. The first thing I always preach new developers
on my team is that they should think the entire web
tier away and replace it (mentally) with a Swing or
whatever client, without changing anything in the
subsequent layers, and the application still has to
work 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What's wrong with DTOs?

2005-10-17 Thread Vic Cekvenich

I don't think anything wrong w/ DTO.

You have your DAO, your model... in my case I use collections as DTO, 
but beanutils is fine.


.V

[EMAIL PROTECTED] wrote:

Hi, Gurus,

Background: I just started a Struts project with Hibernate.  I have chosen to 
use the Data Access Object with (Abstract Factory) design pattern because my 
client uses Oracle and I use Postgresql database.  I am working with other 
teams remotely and they decided to use DTO.

Problem: A few months ago, I recall a message thread on this list with a subject header of: 'DTOs are evil'.  Since I am new to this, I am having problems understanding why.  I thought that DTO are for data storage and data transfer between Business and Value Objects.  


Questions: I have the following questions:

1. Why I shouldn't choose it?  


2. Should I be using the Apache Commons BeanUtils in my action?  It has a 
method like BeanUtils.copyProperties(...).

3. If not BeanUtils, then what do you recommend?


Thanks,

Bob

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



--
thx,
.V

Your Roomity Broadband Community 

cell: 917 825 3035 in DFW
email: netsql at roomity.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Clever trick required

2005-10-17 Thread Vic Cekvenich

displaytag does it, and it's in sample screens on sf.net.
displaytag should be included in struts!
Also... using logic tag is deprecated. use jstl instead.

.V


Murray Collingwood wrote:

Hi all

Bean 1 has a property, a list of Bean 2s.

I want to display these on the screen but I don't want to display repeated occurrences of 
the same value from Bean 1.  For example, lets assume Bean 1 is surname and Bean 2 
is first names, and we have families, and what I want is something like:


Smith   Tom
Mary
Freddy
Jones   John
Liz
Jim
Wendy






--
thx,
.V

Your Roomity Broadband Community 

cell: 917 825 3035 in DFW
email: netsql at roomity.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Struts + AJAX Trumps JSF

2005-10-14 Thread Vic Cekvenich

Frank W. Zammetti wrote:


People who try to do entire sites in Flash are, IMO, misusing it.



Try http://goowy.com for Flash

or Java http://struts.roomity.com (takes you to this mail list in RiA)

.V


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Struts + AJAX Trumps JSF

2005-10-13 Thread Vic Cekvenich

Mike Duffy wrote:


I think AJAX will evolve to the point where it will become a serious Flash 
competitor


Or JDNC, like roomity.com, that now in beta.roomity.com has video 
streaming and on main site foaf and tagging ;-)


.V


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts and db connections :: best practice

2005-10-13 Thread Vic Cekvenich
Best practice has nothing to do w/ struts. On Struts wiki there are 
several DAO's you can pick from.


Struts allows MVC layers, so that you can unit test each layer. For 
example unit test the model and dao.

Even w/in a DAO... you never use a connection.
So I recommend you select a dao, and unit test the dao layer (outside of 
struts).


The books that talk about datasource and connections are very old.
Use a DAO! ex: Apache iBatis and iBatis example PetStore.

.V

emre akbas wrote:

Hi all,
In a well written struts application, we assume declarative exception
handling is used. Therefore the code of the action classes will look clean
and short (and nice) because all the exception handling is done via the
exception-handler classes outside. My question is about db connection
management when declarative exception handling is used.

A usual scenario is :

~~
public class MyAction extends Action {
...
public ActionForward execute( . .. ) {
..
Connection con = getDataSource().getConnection();

// an exception occurs here and the control passes to the
// exception-handler class, which can never close the connection
// opened above.


con.close();
}
...
}
~~

What to do in a situation like above? Since the exception-handler could not
close the connection opened in the Action class, this will cause the
connections in the pool to be exhausted. To prevent the situation above, we
may :

~~
public class MyAction extends Action {
...
public ActionForward execute( . .. ) {
..
Connection con = null;
try {
con = getDataSource().getConnection();

// an exception occurs here


} catch(MyAppSpecifiException e) {

} catch(Exception e) { // IMPORTANT, this line will catch all the exceptions

} finally {
con.close();
}

}
...
}


The scheme above seems to solve the unclosed connection problem but it does
not use declarative exception-handling and the code is really messed-up with
exception handling statements. It does not look nice, clean and short.

The situation is more complicated when you call a service method within the
action and that service method throws an exception.

I would like to hear your points on this issuse. Thanks in advance.


--

Emre Akbas




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Free Database Graphical Tool

2005-10-12 Thread Vic Cekvenich
SQuriel client has a Eclipse plugin version (on eclipse plugins page is 
where you'd search for plugins).


I use SQLyog (windoze only... but Mac and Linux have Windoze emulators).

.V


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Fast war deployment

2005-10-07 Thread Vic Cekvenich

http://localhost/manager/reload?path=/

above should do.
Have "eclipse" point to where you app.xml points (to root of WEB-INF)

.V




C.F. Scheidecker Antunes wrote:

Hello all:

Everytime I deploy my .war file on my server, restart Tomcat and access 
the JSPs and
actions it will compile (make JSPs servlets) and load them. It takes a 
time the first time.


This gets annoying as the application gets bigger.

Is there any way to deploy the war and have a build file?
Can I accomplish that with ant?
If so, how?

Thanks!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OT: RE: Development philosophy and such (was: Base action class)

2005-10-07 Thread Vic Cekvenich


_Listen_ to the customer, 


+1 that requriements is the silver bullet. I address is w/ both mock ups 
and prototypes... to demonstrate active listening.


.V

http://roomity.com (version 1.3 is live)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Who decides?

2005-09-10 Thread Vic Cekvenich

Dakota Jack on 10/09/05 07:09, wrote:




I would strongly suggest you consider the Spring alternative which is
highly unlikely to change in fundamentals for a very long time.



I would argue that technology is shifting to RiA (Ajax, Laszlo, JDNC), 
so a static framework (if Spring is statick, I would not know, I know 
they have a Swing project) is not futuristic.


But to the topic... :
In some organizations managers decide what the tech. stack is for them. 
My theory is that they read PC Week and pick some story like IBM EJB or 
MS Access, usualy they use logic like: We paid a lot of money for this, 
this will be good + we paid a lot of money for support, so we know we 
won't make a mistake. Lets use some inovative design... like push. Use 
Notes for mail client, and lots of virus scanners and sofware change 
managment on each PC to improve productivity. Then they direct people to 
support "company decission" and find ways to use the tech. Of course, 
sinc tech is expensive, their people are not best paid. Lets call this 
tech 1st orgnaization. Ex: "We are an IBM shop".


Other organizations let exerienced developers pick an effiective tech 
stack, based on the business requirments and the business problem. Ex: 
"We are a business shop".


Of course, mostly there are shades of gray.
I hope to mostly work in the 2nd type of orgnization and  I spend 
some time monitoring good tech stacks: Faclets, JDNC, CoR, iBatis, 
Groovy, Fedora, large MonitorS 
(And sometimes in my mind I put things in a bad tech stack: EJB, 
Spring(too heavy), ORM, Beans (used to be in good stach untill I used 
collections more), Notes, DHTML, etc. Your list could be different.


I think Ted is one of people that articulated that in different 
organizations in different situations one picks an eviroment friendly 
tech stack, or words to that effect. In order for developers to belive 
in their tools for one.



.V


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ot: struts obsesed

2005-09-10 Thread Vic Cekvenich
Looking at CVS and developer comments on the dev list I would say that 
by far, Struts development has never been more active by order of 
magnitude. 1.3 classic release is iminent (in "Struts" time).


.V

Adam Hardy wrote:
it's just been fairly dormant.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ot: struts obsesed

2005-09-09 Thread Vic Cekvenich

http://jroller.com/page/RickHigh?entry=is_struts_dead_is_struts

Is he going to get over it?
I wonder who the #2 framework is?

.V


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with Installing the Struts

2005-08-01 Thread Vic
Hi Jeevan,

Can you please list the names of the jars that you've included in your lib
folder.

People typically forget to include the 'standard.jar' jar.

In addition, are you sure that your action class extends the
org.apache.struts.action.Action class.  Forgetting to extend the class
(something we've all done at one point) may yield your error message.

Good luck.
Vic

> Hi All!
>
> I am using Tomcat 4.0.6, Java 1.4, Struts 1.1 for my initial struts set up
> application.
> I configured the required libraries  to run Struts application.
> But the problem is when i try to run the application using struts i am
> getting the following exception in my jsp
> "Servlet action is currently unavailable, The requested service(service
> action is currently unavailable)is not currently available"
>
> Plz, help me out for this problem.
>
> -Thanks in Advance
> Jeevan
>
>
> -
>  Start your day with Yahoo! - make it your home page


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [HELP] Web hosting for JSP Struts+iBatis+DAO?

2005-08-01 Thread Vic
Pham,

If you decide to go with them... can you specify me as a referrer?  This
way, I can get 3 months of free hosting ;)

Thanks.
Vic



> Thanks Vic,
>
> I will try it :)
>
> again, thank you very much :)
>
> Pham
> - Original Message -
> From: "Vic" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Cc: "Struts Users Mailing List" 
> Sent: Monday, August 01, 2005 7:52 PM
> Subject: Re: [HELP] Web hosting for JSP Struts+iBatis+DAO?
>
>
>> Hi Pham,
>>
>> If your host is able to support java, then you should be able to install
>> a
>> struts application which uses iBatis.  This is because Struts & iBatis
>> are
>> frameworks.
>>
>> Anyhow, several java hosts have been recommended on this list (thread
>> 'OT:
>> Good Java host').  Personally, I use http://www.aladin.ca.  They're not
>> expensive and are reliable.
>>
>> Hope this helps.
>>
>> Vic
>>
>>
>>
>>> Hi all,
>>>
>>> I'm buiding a commercial website, which uses Struts+iBatis+DAO.
>>>
>>> I'm live in Viet Nam and I'm looking a web hosting for a commercial
>>> website like above.
>>>
>>> plz help me
>>>
>>> Pham
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: forward to a new window

2005-08-01 Thread Vic
> 1. What are the relations between the new window and the original one?
> Do they share the same session attributes?

Typically, the parent & child window will share the same session attributes.


> 2. How do you define a child window in JSP - can you please attach an
> example?

You would have to use javascript to do something like:

link


Vic



> Rivka
>
> -Original Message-
> From: Mark Benussi [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 01, 2005 3:12 PM
> To: user@struts.apache.org
> Subject: RE: forward to a new window
>
> when writing a link the target attribute can be set with _new or _blank
> or
> even the name of a child window. When youclick on the link it will open
> in
> said new window.
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> **
> The contents of this email and any attachments are confidential.
> They are intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager
> or  the
> sender immediately and do not disclose the contents to anyone or make
> copies.
>
> ** eSafe scanned this email for viruses, vandals and malicious content. **
> **
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: forward to a new window

2005-08-01 Thread Vic
Hi Rivka,

Try the following:

link

This will open your action in a new window.

Vic

> Hi friends
>
>
>
> I would like to know if there is a way of forwarding a request to a new
> explorer window.
>
> For example, in the current window I have a list of books and a link to
> a book details page for each book in the list - how do I open the book
> details in a new window using Struts?
>
>
>
> Thanks
>
> Rivka
>
>
>
> **
> The contents of this email and any attachments are confidential.
> They are intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager
> or  the
> sender immediately and do not disclose the contents to anyone or make
> copies.
>
> ** eSafe scanned this email for viruses, vandals and malicious content. **
> **


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



bean:include tag

2005-08-01 Thread Vic
Hi,

I've been trying to use  in a similar way to
 but am unsuccessful.

I am trying to include a footer on my page by writting the following:



Unfortunately, I don't get any errors and the page is not included.  Must
I do something with footerId to get working?

Thanks for your help.

Vic

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [HELP] Web hosting for JSP Struts+iBatis+DAO?

2005-08-01 Thread Vic
Hi Pham,

If your host is able to support java, then you should be able to install a
struts application which uses iBatis.  This is because Struts & iBatis are
frameworks.

Anyhow, several java hosts have been recommended on this list (thread 'OT:
Good Java host').  Personally, I use http://www.aladin.ca.  They're not
expensive and are reliable.

Hope this helps.

Vic



> Hi all,
>
> I'm buiding a commercial website, which uses Struts+iBatis+DAO.
>
> I'm live in Viet Nam and I'm looking a web hosting for a commercial
> website like above.
>
> plz help me
>
> Pham


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OT: Good Java host

2005-07-31 Thread Vic
Hi James,

I use http://www.aladin.ca/

Vic


klute wrote:
> Hey all,
>
> Can anyone recommend a good Java hosting company? My
> current one is good when it comes to the features it
> provides but the "support" is almost insulting.
>
> Thanks,
> James
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Too late to become a rock star?

2005-05-12 Thread Vic Cekvenich (netsql)
tonight on mtv:
http://www.afterdawn.com/news/archive/6361.cfm
3 PPC at 3.2 ea.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [POLL] What do you use action forms for?

2005-05-12 Thread Vic Cekvenich (netsql)
Some of you needs a struts mentor ;-)
You use display any bean or collection in struts, if it's RO, you don't 
use formBeans and you use JSTL/displaytag.
If you edit, update, insert, etc, you have to use and map a form bean 
and html tag.

Often do I see a formBean mapped on a page that only outputs
Or a new Formbean() in action (when struts gives you the handle)
.V
Michael Jouravlev wrote:
Turns out, that my way of using action forms differs from many other
Struts users' habits. So, I am wondering how do you use action forms.
I could not find the same poll in mailing list archives, so I am
starting this one.
You can answer here in the thread, or in the poll form, which I
created on my site: http://www.superinterface.com/projects.htm But
don't answer in both places ;) I wish wiki had a way to do polls.
What is your preferred way to use action forms?
#1 Prefer not to use action forms at all
#2 For input data only (usually collected from HTML form)
#3 For output only (to be used in JSP)
#4 Same form for input and output
#5 One form for input, another for output
#6 Other
Thanks, 
   Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AW: Quartz Scheduler with Struts

2005-05-08 Thread Vic Cekvenich (netsql)
if you google, there are many good articles. 1.5 has JMX built in. (ot: 
hivemine ioc has jmx built in)

.V
Zsolt Koppany wrote:
Can you give me a pointer how to monitor with JMX?
Zsolt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Quartz Scheduler with Struts

2005-05-07 Thread Vic Cekvenich (netsql)
ot: consider using JMX for monitoring webapps, that's what I use.
.V
Brian McGovern wrote:
I need to set up a bunch of jobs that monitor various pieces of my struts app.  
I decided to use Quartz but am wondering if anyone has experience with setting 
up quartz to run in struts.  I'm guessing this would be achieved with by either 
writing a plugin class to be started from struts-config.xml, or by setting up a 
Quartz servlet.  Can anyone get me started in the right direction and lemme 
know of things to watch out for?
thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Help in Application Design

2005-05-04 Thread Vic Cekvenich (netsql)
look at tiles section of struts books
.V
Richard Reyes wrote:
Hi Guys,
I have been task to maintain several jsp web applicatiohumonguosns.
Each application has about 15 humonguos jsp's. Their original designs
are to submit jsp pages to itself so each jsp
contains large volumes of java codes.
From time to time a new feature request comes and there comes the need
to modify this applications. Im planning to gradually shift it to a
better design so it'll be easier for me to maintain and to improve
performance.
Any suggestions on a design template I can take Model 1 or Model 2?
Any other things I should consider in upgrading this applications?
There is a new JSF version in the making but I think it'll take a year
before it can be used on
production version so ill be stuck here for a whilel.
Regards
Richard

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How handle multiple records in form?

2005-05-04 Thread Vic Cekvenich (netsql)
struts html tag handle this, look at the docs page.
Also displaytag was supposed to do this some time... not sure when.
.V
e-denton Java Programmer wrote:
Hi,
I need to accept up to 20 records per form, which may have been edited and
update them in the database. In the past I have tried assigning unique ids
to each form field or using Javascript to create an XML string of the
fields. I don't like either method. Is there a best practice for this?
Thanks,
Will

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANNOUNCEMENT] AjaxTags 1.0 Alpha 1

2005-05-01 Thread Vic Cekvenich (netsql)
Frank W. Zammetti wrote:
v1.0 alpha 1 is now available via CVS at struts.sf.net. 
Here are ideas of what you can now do on you projects when using Ajax:
http://www.smartclient.com/technology/testdrive.jsp
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] [Friday] Re: AJAX: Whoa, Nellie!

2005-04-21 Thread Vic Cekvenich (netsql)
[EMAIL PROTECTED] wrote:
 I think
all salient points have been made.

Agree.
It's almost friday:
http://www.moronland.com/image.php?media=Apple%20Weed
.V


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AJAX: Whoa, Nellie!

2005-04-21 Thread Vic Cekvenich (netsql)
Craig McClanahan wrote:
The 3000 or so people that are here want to be able to ask questions
about using Struts
IMO, using Struts with client side technologies such as .js, dojo and 
ajax is on topic.

.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AJAX: Whoa, Nellie!

2005-04-20 Thread Vic Cekvenich (netsql)
Frank W. Zammetti wrote:I do think there is more
that can be done, and I still think the tags are the best way to present 
it.

Maybe tags that leverage dojo.js?
Hey, if you'd like to be involved with my efforts, I could certainly use 
the help in ...
Do you sf.net or wiki type resources?
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Re: AJAX: Whoa, Nellie!

2005-04-20 Thread Vic Cekvenich (netsql)
Frank W. Zammetti wrote:
 someone mentioned the idea of having custom tags
that generate the underlying code... this is an intersting idea to me
because you get the whole Swing-ish code-centric approach underlying it
all, but with custom tags so you don't have to do all the code if you
don't want to. 
http://javadesktop.org/jdnc/0_5/docs/tutorial/index.html
Did I link this this week? :-}
It be great if javascript DHTML could do this so we all separate the UI.
If you need is now, look at dojo, but no tags.
If you need best I conculded JDNC is best for me.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Re: AJAX: Whoa, Nellie!

2005-04-20 Thread Vic Cekvenich (netsql)
Erik Weber wrote:
   SwingWorker worker = new CustomSwingWorker("GET_XML_RPC_DATA") {
 
   
I guess I'm in the wrong forum.

:)
Erik

Ahh it's the right forum ;-).
My code is VERY similar to above.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Martin Cooper wrote:
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote in message

Again, by all means, use Dojo.  Not everyone will agree it's a good
answer though.  Not everyone will see it as the greatest thing since
sliced bread.


Poor fools. ;-) ;-) ;-)
--
Martin Cooper
Headline for tmrw bloogers:
*"Struts chairman endorses Dojo"*
:-}
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Frank W. Zammetti wrote:
The problem arose, initially, because we were allowing for something like
300 records max at a time.  Such a request was taking like 5 seconds on a
P3 550.  As it turns out, the response from the server was sub-second
(VERY low, better than anything we see even today in current apps doing
everything on the server), the rest was the actual rendering.  We simply
reduced the number of records you could look at at one time, but you could
see a big different if you went to a more powerful PC.

See for rich UI, you assume people have better PC's.
Do look more into dojo, it be nice to integrate some .js componet 
libraries w/. I am sure that some devs are doing very rich .js and know 
.js component libs.

(similar to how validate tag emits .js and then leverage the onclient 
library to render an avialbe component. Like a .js tree. again, my 
ignorance of .js will get me in trouble)

GOOD LUCK!
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Frank W. Zammetti wrote:
Not if I complete my project! ;)

I hope you do!
See if you can put some version on struts.sf.net, this is how some 
committers got in.

I am no JavaScript guru, but something similar to XUL and new W3 XForms, 
were it's even possible to just send XML-RPC style XML to the server, 
beyond the XMLRequest or inside it. And then have a .js library that 
 generates HTML.

I got this from MC (not CM), but it's a strech I think.
http://nwidgets.org
http://dojotoolkit.org
The more "generating of html" you do in browser, the more scalability 
you have on server and the faster it appears to user.

.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Vic Cekvenich (netsql)
Michael J. wrote:
People just should stop thinking in terms of "client-side scripting"
and start thinking

 in terms of "client-side rendering" :-)
(XAML, XUL, Flex, JDNC, DHTML(Ajax, JavaScript)).
UI naturaly should be done on "client" side, asking for domain and other 
services from the  server.

The more you do "client-side" the richer the UI.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AJAX: Whoa, Nellie!

2005-04-18 Thread Vic Cekvenich (netsql)
Stéphane Zuckerman wrote:
 if this were to be integrated in Struts,
my life would be easier.
I too will now check it out.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: ot: cvsignore not ignoring - solution I think

2005-04-14 Thread Vic Cekvenich (NETSQL)
Vic Cekvenich (NETSQL) wrote:
Craig McClanahan wrote:
Did you check your .cvsignore files in to the repository?  If you do,
they get respected on future transactions.
OK, that works for "new" files, but if x.class is already there, it will 
sync, so I had to rm *.

.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: ot: cvsignore not ignoring

2005-04-14 Thread Vic Cekvenich (NETSQL)
Craig McClanahan wrote:
Did you check your .cvsignore files in to the repository?  If you do,
they get respected on future transactions.
Yes. The on next cycle I compile and it wants to sync class files.
Of course this is Eclipse 3.1. I wonder if I should try some CVS gui 
tool to double check.

.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ot: cvsignore not ignoring

2005-04-14 Thread Vic Cekvenich (NETSQL)
so I create .cvsignore and cvsignore all over place, including CVSROOT 
for *.class and... it still syncs classes.

anyone know?
I guess sign up for the cvsmail list.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Bad programming experiences

2005-02-25 Thread Vic
Of course... that is what the definition of good is!
Also this is true:
Bad architecture has no or detracts from benefits.
I would also say that having an architect is sometimes a bad idea, I 
prefer a title of "tech lead". This means that I do code hardest things.

Things that make you more effective I wrote up here:
http://infonoia.com/en/content.jsp?d=inf.05
.V
Leon Rosenberg wrote:
I still believe that good architecture has business benefits

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts In Action - Still up to date?

2005-02-23 Thread Vic
It takes about 3-6 months to write a book, and about 4-6 months to have 
it published once you submit it.

.V
Christian Hauser wrote:
I don't know when Struts 1.3 will be released and when your book 
finally gets printed, but please do not talk about an old version the 
way "Struts in Action" talked about Struts 1.0 instead of sticking to 
Struts 1.1 that shortly after had been released.

What I wanna say is that I wouldn't like Struts in Action 2nd Editionn 
to have lots about Struts 1.2 when Struts 1.3 anyway makes it all 
different. Then please consider adressing Struts 1.3 only as Struts 
1.2 is similar to 1.1 and nobody will use Struts 1.2 anyway in 1-2 
years. But your book will still be available.

Just my 2 cents.
Christian

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Market share of development technologies?

2005-02-23 Thread Vic
One example of
3) Statistics
kinf of a lie is this site:
http://news.netcraft.com/archives/2003/04/10/java_servlet_engines.html
.V
Larry Meadors wrote:
You have probaly heard that there are 3 kinds of lies:
1) Lies
2) Damn lies
3) Statistics
On Wed, 23 Feb 2005 20:59:25 -, jelything <[EMAIL PROTECTED]> wrote:
 

Hi there, sorry if this is too OT, but I was wondering if anybody knew
of a reputable source that might give me some idea of how much of
current development is in java (jsp, servlets), asp, asp.net, etc,
etc.Perhaps there's some good articles on developing trends somewhere?
   


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts or SpringFramework

2005-02-18 Thread Vic
So the short answer is... I can't!
You use a QuickSort and a BubleSort in 2 diferent scenarios, one is good 
for semi sorted data, the other for large sorts.

I used IoC to organize and configure classes after the fact.
With CoR I can re-use comands in a diferent context and still be 
able to configure them. Seemed to me like 2 was too much, one had to go.

It's possible that IoC will be added in later versions of Struts, but I 
likely will chose to use only to use CoR.
This is a begining of Vi vs Emacs that will last for years. Spring is 
more complicated than Struts 1.3... hmmm.

.V
Shey Rab Pawo wrote:
 What I
don't quite see is how they or CoR replace IoC.  IoC seems to me to
address a completely different and consistent set of solutions to a
completely different and consistent set of problems.  So, if you could
explain this, I would appreciate it.
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts or SpringFramework

2005-02-18 Thread Vic
There are 2 chains. One is the request processor chain, the heart of 
Struts that Joe is donating design and implementation. Most users in 
Struts never touched it before, and likely will never touch it now; I 
stay away from it (other than to see how it works so I can do mutlri row 
CRUD).

So now that leave the Action.  You can keep doing what you do. But... 
you can create user commands (a user chain) if you like CoR. (and ... 
some of us love it, it's KISS and powerfull).
If you do "user chain" or CoR Actions... you could switch to any 
framework with a lot less pain. (Shale if you like). I also take my use 
CoR action and run them from command line:
ex:
java -jar run.jar SEND_MAIL
This starts my action to send an email to all the new users.

So ... my same CMD I wrote for WebTier... now has a char input. Or SoA, 
or RiA, or XML-RPC. So that's good.
Also, it provide a good framework on it's own.
One thing Struts had is that I can look at somone elses struts-config 
and have an idea how to maintain their code. Commons-chain has that, a 
map of comands, that I can even configure.

Now ... let me get contraversial, (because I am usualy so shy)
I used to do IoC in place of CoR. In IoC you have diferent signatures 
... and they you can configure/inejct.
In CoR  the singature is allways the same.

So ... what happend last summer is I ended up having like 70 CoR 
commands  built. One of my develops had work (imagine) and... he started 
pluging in cmds from diferent chains, in his own chain... and built 
something without code!!
My jaw was on the floor. I asked how he inveted this? He said he assumed 
that's what I wanted!!!
(I then told everyone to rewrite IoC into CoR - at least no thinking 
about the signature, and pull it out it's gone now - Hivemind)
The point is... that once you have a lot of commands.. you may notice 
that you can just plug comands in to each other, like Lego.
I think you play some w/ Digester this is just another variation on it.

So becuase 1.3 is legacy, you can keep using old action singature, 0 
learning.
But... if you want, you can try CoR for your commands. It works in 
anything, event "old" Struts.
It goes by many names for now, user chain is one name (even for me at 
least most of the time... it's only one command in the chain. Oh... cmd= 
= chain ) Over time, we will start calling it one thing.

.V
Wendy Smoak wrote:
Wait... I think it was Joe who said that if we had never cared about the
Struts RequestProcessor up to now, we could ignore 'chain
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts or SpringFramework

2005-02-18 Thread Vic
It is by far my favorite topic (and for all early RiA adaters).
Email me a vin at friendvu.com or  at (hardly used) forums at sandraSF.com.
I use chain for SoA dispatching from hessian, not on JDNC side (becuase 
JNLP classloader looks at digester as a security violation :-(  )
On JDNC I had to do some MVC work, I think they have a junior group from 
Sun on this on their side. (They don't even have a DTO concept :-P  )

.V


Hello Vic:
I have looked at jdic and JNLP application and want to explore further 
for off-line applications. Hope you may share your experience in using 
commons-chain in Swing (and possibly with Spring IoC) under JDesktop 
Integration Component. This is your favorite topic isn't it?

BaTien
DBGROUPS
--
Forums, Boards, Blogs and News in RiA <http://www.boardVU.com>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts In Action - Still up to date?

2005-02-18 Thread Vic
http://jakarta.apache.org/commons/chain/cookbook.html
http://www.infonoia.com/en/content.jsp?d=inf.02.03
.V
Dave Bender wrote:
It would be nice if the publishers offered an 'update' to this and other
books on topics that evolve.  I'd love to have the new edition of Struts in
Action, but I'm not going to pay another $45 for 600 pages of mostly
repeated information.  I value the new information, but also value my
bookshelf space.
Does anybody know of a book or resource (other than this fine list) on
Struts that just covers the changes in the recent version?
Dave
 

.V
--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts or SpringFramework

2005-02-18 Thread Vic
You can put your toe in Spring(Tapestry or JSF) and see how it feels 
becuase you know the Struts side.

Or. you can start doing commons-chain now! And then plug it into 
anything. What Ted Husted said on dev list was words to the effect:
"people should be no longer be writing Struts applications. They should 
be writing commons-chains (CoR) applications. Then just plug it into 
Struts. ".
I chose to  write commons-chain applications, that I plug into... Swing.

.V
Larry Meadors wrote:
Without exception, every developer I have talked to personally that
has tried SpringMVC said it was way more complex than struts, and
ended up going back (almost all the way) to struts.
What I have heard is a killer combination is "Spring-managed Struts".
In this permutation, you use struts with a Spring-based request
processor instead of the default struts one. Then, you get much of the
benefit of using spring (managed beans, IoC, etc...) and continue to
use vanilla struts for the remainder of your application.
I have been hoping to use this model for the last month or so, but
have been too busy to try it myself. Stupid job. ;-)
Larry
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: how to receive emails related to my questions only?

2005-02-16 Thread Vic
What if you know the answer to someone's question?
.V
Jonathan M Z wrote:
hi folks, I am new to the list, I did some search on
my question but no luck.  Is there a way that I only
receive emails related to my post?
thank you

		
__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SQL

2005-02-16 Thread Vic
Which DAO are you using?
.V
CRANFORD, CHRIS wrote:
This may be slightly off-topic but I'm sure others may have ran into this 
issue.  If I have created a CallableStatement object using a SQL string, is 
there anyway to retreive that SQL string from the CallableStatement object ?
___
Chris Cranford
Programmer/Developer
SETECH Inc. & Companies
6302 Fairview Rd, Suite 201
Charlotte, NC  28210
Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 
Email: [EMAIL PROTECTED]

 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Caching Appliction Level Data?

2005-02-14 Thread Vic
Caching DATA in a view (Servlet) is a bad practice.
Best practice is to use DAO,
A DAO does caching for you! It has fine grain control of how, when to 
flush, what size... all with no or minimal coding.

Data caching ...in Data Layer.
.V
David Johnson wrote:
Hi All
I have a need in an app I'm working on to cache data that is valid and
shared across users, like standard country codes, region codes,
industry codes... stuff like that.
What's the best way to do that with my struts 1.2 application? Is
there something built in that I'm not aware of that I can leverage or
any best practices you guys can point me toward?
Betst to ask the experts first...
Thanks!
D
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Validation Strategies?

2005-02-14 Thread Vic
It depends what you domain looks like.
Is it a Collection, RowSet, Bean
A lot of people manualy code it in the get/sets. (or puts)
(In my case the Domain, DTO and FormBean are a collection ... no flames 
please)
.V

Rooney.Dave wrote:
OK, what form do these maps take - XML, properties files, etc.?  Do you
have an example?
BTW, we're not using DynaForms, and we have written our own classes to
map values from the form beans to our domain models.  This approach has
worked OK, but as the system has grown I'm starting to see its
limitations.  Any thoughts on this?
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Validation Strategies?

2005-02-14 Thread Vic
That is the struts way (and it makes it "secure")
.V
Rooney.Dave wrote:
create some sort of mapping between domain
model properties and the form properties 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: which tier?

2005-02-13 Thread Vic
You need to write object/class that you can unit test outside of 
Stuts.Lets call it Calc.java.
It would call a DAO (such as iBatis, there are tutorials to iBatis all 
over the place, try Rick Reuman (spelling?)).
That would call SQL.

So in Calc you might have private methods:
private long getStartTime(Interger userID);
private long getEndTime(Integer userID);

or just
private Map  getTimes(Integer userID) to get all the times at once.
Unit test that.
Then write method to compute. Unit test.
Then place in Struts.
(But before I would implement above, I would create a JSP /Struts mock 
up with fake data displayed (no db, just hard code), just to get the 
look and feel right, navigation, etc. That is allways the hard part but 
it ensurse sucess. Once you know that's what you want, then do above impl.)

.V
Robin Ericsson wrote:
Hi,
I'm doing a small timesheet app with struts using PostgreSQL as 
backend and as I'm new to struts and also somewhat new to Java I'm 
trying to decide where I should put the logic.

Each row contains a day, start time, end time and break time. Now, I 
want the business layer to calculate the duration between start time, 
end time minus the break.

Should this be placed in the SQL-side using a special query, or should 
I do this in Java? If so, is it possible to calculate durations and 
intervals in Java without using third-party packages?

I know the question is pretty vague but I'm on thin ice at the moment 
and not really knowing what I'm doing :)

regards,
Robin

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: LazyDynaMap

2005-02-12 Thread Vic
Not in my case:
- I use this outside of Sturts :-P
- iBatis uses ArrayList ... not []
I am sure I can do something based on commons beans code for me, but it 
be nice to have it in the jar.

.V
Niall Pemberton wrote:
Would specifying an array of LazyDynaMap in the struts-config.xml do what
you want?
 

It be nice to have a DynaList. It would be an indexed ArrayList of
ListDynaMaps.
So from iBatis I can return an ArrayList of Maps as DTO and  just
map it.
.V
   

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ot: LazyDynaMap

2005-02-12 Thread Vic
This looks very nice! I plan to use it w/ JDNC.
It be nice to have a DynaList. It would be an indexed ArrayList of 
ListDynaMaps.

So from iBatis I can return an ArrayList of Maps as DTO and  just 
map it.
.V

Niall Pemberton wrote:
You could use a LazyDynaMap to do this (with Struts 1.2.4). LazyDynaMap is a
"wrapper" for a Map. Because its not an ActionForm Struts will wrap it in a
BeanValidatorForm, which you can use with Validator.
Just specify it in the struts-config.xml for your form.

In your action you can get the actual Map in the following way...
   LazyDynaMap dynaMap = ((BeanValidatorForm)form).getInstance();
   Map myMap = dynaMap.getMap();
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Content Management Systems

2005-02-11 Thread Vic
http://sf.net/infonoia
Josh Holtzman wrote:
Hello all,
Can anyone make a recommendation for a user friendly content 
management system that can be integrated with a struts/tiles based 
application? We’d like content authors to have the ability to use a 
web based interface to author content, and publish it to a struts 
based application.

It wouldn’t surprise me if there are at least a few items already 
available out there, and I’d prefer not to re-invent the wheel if 
necessary.

Thanks in advance.
Josh Holtzman
tel 310.470.1257
fax 310-362.8545
Sun Microsystems iForce Partner
IBM Business Partner

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT-izzy]

2005-02-08 Thread Vic
Right back at ya:
http://www.webdez.net/alig
.V
James Mitchell wrote:
http://sites.gizoogle.com/?url=http://struts.apache.org

--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Ann: Sample Struts-Chains 1.3dev based application

2005-02-07 Thread Vic
Example Struts 1.3/Chain web-app example using Commons-Chain CoR 
pattern, using Struts 1.3 dev!
Newest good practices implementation of a basic Java/Web-based 
portal/CMS application. Includes configure use of Eclipse 3.1(M4), 
Tomcat 5.5, PostgreSQL 8, Struts 1.3dev, JSTL, iBATIS 2, DisplayTag, 
Struts Menu, Web Security, Tiles tricks, ...
Previously used by ZD Media(this is 90% of the code base on an 
application that replaced ASP for 10 million members), W.H.O. and others 
in more than 4000 copies.
Fraunhofer 2004 Open Source Best Practices Award!

Please Read Details of the examples here:
http://www.infonoia.com/en/content.jsp?d=inf.02.03
and if you like, download from http://sourceforge.net/projects/infonoia 
(new versions from time to time)

The 30 free videos are based on it, linked here:
http://wiki.apache.org/struts/StrutsTutorials
12 best practices from video training itemized 
http://infonoia.com/en/content.jsp?d=inf.05

.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Vic
FYI, all I use is Eclipse 3.1 + XML buddy (it does all xml, html, jsp, 
etc files. or you can add colorer plug in).
Why make your life more complex.
.V

e-denton Java Programmer wrote:
Here's another problem. If I leave my app as a Sydeo Tomcat application,
Nitrox still asks me every time I open a .jsp file if I want to manage it as
a "web application". Then, gives me a notice that it is using the regular
text editor instead (if I click No). So, if I choose not to use Nitrox on a
project, it's going to bug me twice for every .jsp file I open.
-Original Message-
From: Carlos Chang [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 04, 2005 1:18 PM
To: Struts Users Mailing List
Subject: RE: [ANN] Free JSP Editor for Eclipse

Hi Will,
Regarding your question about Tomcat projects:
"By converting into Web application we do not modify any of the user
files, we build a database with all the artifacts. And after expiration
the project is same as what it was earlier."
From our perspective, all we're looking for is a webinf folder and the
web.xml file.  Hope this helps.
Thanks,
-Carlos
 

-Original Message-
From: Carlos Chang
Sent: Friday, February 04, 2005 10:22 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [ANN] Free JSP Editor for Eclipse
Hi Will,
For the current offer in place today, the license does NOT expire and
you will have access to updates for the JSP Editor free for 1 year.
   

As
 

for the project, I'm not familiar with this issue so I'll have to get
back to you on this.
Thanks,
-Carlos
   

-Original Message-
From: e-denton Java Programmer [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 4:01 AM
To: 'Struts Users Mailing List'
Subject: RE: [ANN] Free JSP Editor for Eclipse
Hi,
The Nitrox JSP Editor installed okay, but now it insists I convert
 

my
 

Tomcat
Projects into Web Application Projects. That's a lot to give up to
 

get
 

a
   

nice JSP editor. And, when my license expires, how would I convert
 

the
 

projects back into Tomcat projects--not in one easy step!
How long is the free license good for?
Thanks.
Will
-Original Message-
From: Carlos Chang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 4:10 PM
To: Struts Users Mailing List
Subject: [ANN] Free JSP Editor for Eclipse
Dear Java Developer,
For a limited time, M7 is offering the NitroX JSP Editor for Eclipse
 

for
   

FREE!*
Download: http://www.m7.com/free
NitroX has received top scores from industry reviewers such as SD
Magazine, CRN, JavaBoutique, and is officially a finalist for the
upcoming Jolt Product Excellence Award for Best Web Development Tool
 

of
   

the Year.
The NitroX JSP Editor provides the following features:
* Professional JSP source editor
* Simultaneous 2-way source and visual JSP editors
* JSP 2.0 (including EL) - Unequaled!
* JSTL
* Grapical editor for TLDs
* Graphical editor for web.xml
* Code completion
* Custom tag library support
* + much more
* and it's FREE!
Act now because this offer is available only for a limited time.
Thank you,
M7 Team
* Restrictions apply; please see license agreement for details.
FREE = No cost, gratuit, gratis, frei, libero...ok, there is a
 

catch;
 

this offer is only for a limited time. ;-)


 

-
 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

-
 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


OT: X-Forms (HTML replacment) starts

2005-02-03 Thread Vic
   http://www.mozilla.org/press/mozilla-2005-02-02.html
.V
--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Vic
Alex Kravets wrote:
Well I think 70% is a little bit too much 
http://www.manageability.org/polls/what-is-the-best-java-web-framework

Yup, agree.
http://marc.theaimsgroup.com/?l=struts-user&m=98268169919293&w=2
http://marc.theaimsgroup.com/?l=struts-user&m=97660305929382&w=2
Here are some other Struts is dead threads in 2001.
Each framework is good at what it does.
.V
--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Vic
I know you asked Ted/Craig but Tapestry is a Apache project, like 
Struts, a good framework that is View centric, home page says: " 
Tapestry is an alternative to scripting environments such as JavaServer 
Pages or Velocity"
Accroding to latest "market share" reportring (by Raible) Struts is like 
70% of market share. (Having said that, I wish that people that use 
Struts becuase it's popular go away, one should use own judgment; if 
everyone used EJB, would you use that too? or would you jump of a 
bridge? Waren Buffet has a book and a chapter on Lemmings)
Even if Struts loses 10% every year, that would make it say 5% or 3%, 
or 1% say in many years.
Tapestry, JSF, WebWorks, Symphony, etc.  are all fine comunities that 
have that kind of a market share, so it would not be bad at all. (and 
then all the questions about is this the most pouplar one would go away).

WHICH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS?
(It's a bit like sayind what method call you you call in your code? I'ts 
up to you).

Alex Kravets wrote:
Ted, Graig,
've read some posts/blogs where people who've used Struts and now use 
Tapestry say that they will never go back to Struts again.
see above. If you have similar needs as them maybe you should do that.
In 2000, http://barracudamvc.org/Barracuda/index.html would say they are 
better and Turbine did; there was allways competition.

Is this what Struts Shale tries to change/disprove?
I hope not!!!
I feel like I am the old Lakers, #1, and everyone hates you. And yes, I 
hate the Lakers. :-P

.V
--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts - Licensing and Derivative Work

2005-02-01 Thread Vic
I use commons-validator in Swing WebStart applications. Works fine 
without servlet API.
.V

Andres Almiray wrote:
Hi,
I have a doubt regarding the licensing of Struts and
Derivative Works made by third parties, I hope you can
help me figure it out.
I'm brainstorming a framework very similar to Struts
in its behavior but it is intended not to run in a web
environment, nor follow de servlet expecification.
I want to replicate some of the behavior of Struts,
like the Validator package, but I can use the package
as it is because it is tied to the servlet API.
My assuption is that IF I could copy the validator
package, change some parts as to not use the servlet
API, retaining the copyright from the ASF, adding
proper credits to the Struts team in the
documentation, adding the proper NOTICE changes and
applying the ASF to the framework, thus creating a new
package for this new framework, is it within the legal
bounds of the License?  am I allowed to do that?
Or do I have to find another way to replicate the
desired behavior?
Thank you for your time,
=
---
Ing. Andres Almiray Jaramillo
--
What goes up, must come down. Ask any system administrator.
There are 10 types of people in the world: Those who understand binary, and 
those who don't.
To understand recursion, we must first understand recursion.
_
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Database Access

2005-02-01 Thread Vic
See if this helps:
http://wiki.apache.org/struts/DaoRelated
.V
Ben Taylor wrote:
Can anyone tell me the best way to setup / manage database connections
using Struts?
I've read a couple of books on Struts and they talk about using a
processbean though I am unsure how this is linked with things like
iBATIS (http://www.ibatis.com/), or the Struts DataSource manager (as
both mentioned on http://struts.apache.org/faqs/database.html).
Any advice / suggestions would be appreciated.
Cheers!
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-01 Thread Vic
It says bellow that ... DHay at LexMark has signature of Dakota Jack if 
I read it right in the post. (The 2 of them care then).
Also known as "Michael McGrady 
 " on the 
server side as Dakota Jack.
Any more ?
If so, why?

Ah.. you may need medical help.
.V
[EMAIL PROTECTED] wrote:
Any comments, Craig?  I know it's a bit flamy, but would be interested in
your perspective.
cheers,
David

|-+>
| |   Dakota Jack  |
| |   <[EMAIL PROTECTED]|
| |   l.com>   |
| ||
| |   02/01/2005 11:04 |
| |   AM   |
| |   Please respond to|
| |   "Struts Users|
| |   Mailing List"|
| ||
|-+>
 >---|
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-01 Thread Vic
Got it!
Don't worry, we learn quickly.
.V
Dakota Jack wrote:

Please don't respond to this email ..
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0?

2005-01-31 Thread Vic
Craig McClanahan wrote:
I have proposed that Shale indeed be adopted in that way, and
will continue to encourage it; 
:-) 

(It took me a year after Struts .06 was out to find it, it took me a 
year to use CoR after that was there  )

Remember the WS for Struts at sf.net a week back?
If I wanted to wire a WS (ex: Hessian, JMS, REST, 
http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html 
(also used by Flash/Flex ;-) or ad noseum) ... would Struts+CoR or Shale 
be better on technical points?
(right now I use CoR string dispatcher taking http requests)

.V
--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0?

2005-01-31 Thread Vic
Well, the marketing department of Sturts is in hot water for this one. 
To: [EMAIL PROTECTED] wait, we don't have one.
Oh, well... who cares.

Some people just can't comprehend that there are 2 or more MVC 
frameworks out there.
.V
Alex Kravets wrote:

So what do you guys think?
http://www.theserverside.com/news/thread.tss?thread_id=31509

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Why is JCL thread-safe in an Action?

2005-01-31 Thread Vic
That's great about Java.
I am going the other way, from JCL to the new log4j:
http://logging.apache.org/log4j/docs/ugli.html
.V
[EMAIL PROTECTED] wrote:
Today I find myself converting an existing webapp from using Log4J directly to 
using JCL instead.  As per the JCL User's Guide, I'm creating a private static 
Log variable in all my classes, Struts Actions included.
My question is, why is this OK?  Static variables in Actions are a Bad Thing, 
that's a ell-known fact, but why is a Log instance an exception to this rule?
Is it only a bad thing to have static members that might be updated?  Is that the difference here?  

Thanks all!
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Coupling between view and domain model (off topic)

2005-01-31 Thread Vic
I guess it be a new case.
If there are 2 logical forms like master (name) and detail(list of 
transactions, that means the 1 form bean has to mirror it so you would 
have to nest a bean.
(and... once the client approves... I would write a DAO).

As far as MDA I myself use requirments based iterative development. 
(and therefore I do not model untill the both the mock and the prototype 
are validated. Then I model).
But... any kind of matianance grays the area.

I kind of disagreee with people that do UML or MDA BEFORE they validate 
what the client wants.
.V

Leandro Melo wrote:
Suppose that one year later your client decided to
change the information contained in one of the pages.
He now wants the all the stuff from 2 pages in only 1
page. You`d probably have to make some changes in your
action. As you said, you created form beans based on
the html fields. Naturally, the way that the actions
manipulate these form beans will change (maybe just a
little if well disigned). 
THis is the other coupling i`m talking about.
I`m not saying this is wrong or this is bad modelling,
whatever. I`m just asking if there`s a very abstract
model where we don`t have the coupling. Maybe i`m
looking a little for mda...

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Coupling between view and domain model (off topic)

2005-01-31 Thread Vic
See if this methodology helps you separate the 2.
When I start a project I do not care about DB or model; I only care 
what the client wants, like what fields, where, etc.

I work w/ them to create html mock ups as requirments.
Is this what they want?
Once that's done, it's easy.
I rename HTML to jsp and write Struact actions to get to each of the 
said JSPs
Then I write formbeans (since I know html fileds, I know get/set :-) ; 
nothing w/ model).
Now I have a prototype where I validate... is this what you want?
( See, no model. )

If yes... I design CURD of DAO and model (sometimes E/R, sometimes I 
have to get data from various existing dbs)  in a way to populate or 
save my form beans fields..
I unit test the DAO's CRUD outside of container and outside of Struts. 
If it does not CRUD here ... it won't start working once I put it in Struts.
The 2 are as separate as possible. The CRUD might be simple or complex; 
I assume the client does not care, as long as they get what they want.
Only then do I integrate the 2.

.V
Leandro Melo wrote:
Hi all.
This might seem more a design question than a struts
specific question. Anyway, if anyone could help me out
a little here.
I`m going to explain what is my approach for an
specific situation, then you tell me what you think
about that, ok.
When i`m designinig the web interface for a software,
i go something like this.
Suppose i have a table USER in database and also have
2 other tables that have relationships to this one.
They`re table USER_PROFILE and USER_ADDRESS.
I`m very used to build CRUD pages, so i usually go
with a design like this.
I got, for example, a UserCRUDPage, where the user can
set attributes like name, age, e-mail, etc... that
belong to the USER table in db. I also use something
like a navigation bar that in this specific case would
have 2 links, one for User Profile and other for User
Email.
This way, if the user wants to set/update his/her
address, he would just click on the link and go to the
AddressCRUDPage. The same thing would happen to
profile.
This design seems to be very nice to me.
Unfortunatelly, i had an experience last week that
made me think about that.
I had some Actions associated whith the updates. In
this case i had ActionUserUpdate,
ActionUserAddressUpdate and ActionUserProfileUpdate.
Naturally, this classes performed all the control
layer associated with those operations. It doesn`t
matter right now if the Actions are in diferent
classes or in the same one. If you want, you can think
that i actually had a DispatchActionUserCRUD for
example.
The "problem" started when my client decided that from
now on he would like to have the address operation
page in the same page of the user page. In this case i
had to mix the UserCRUDPage with the AddressCRUDPage
in only one page. My client also wanted that all the
data on the page could be updated with only one mouse
click (in other words, only one 'save' button).
Naturally, i was forced to make some small changes in
my pages (and it`s forms) and the associated Actions,
so now i need to a way of centralizing the operation
of both actions (User and Address). Briefly, i need to
make a few changes in my Action, that`s the point
here.
Although the changes were actually small, i started to
think that :
My view is coupled to my control layer, wich is even
more coupled with my domain model.
Well, i`m not talking about big coupling here, but it
exists. In other workds i`m saying that in more
abstract point of view, this is what happens.
I really would like to hear comments about this whole
thing...
Thanks for reading.

		
__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
 


--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Best practice for dynamic Title values using Tiles?

2005-01-24 Thread Vic
What I would do is put in request context anything that I minght need. 
My action decided what to display and puts it in scope.

Then in jsp and tiles tag I would use el to display the named variables.
(90% of code for 1up.com (that is all tiles) is here: 
http://sourceforge.net/projects/infonoia (similar to my free training 
videos from struts wiki))

hth,
.V

Rick Reumann wrote:
I'm switching back to using Tiles instead of Sitemesh and I remember 
one issue that I found annoying with Tiles and I'd be curious how you 
guys handle it. Say I have a form that is going to be reused for both 
"Edit" and "Add." I want the  attribute to read something like 
"Add Employee" or "Edit Employee," depending on what I'm doing. It 
seems silly to have to create multiple definitions in my 
tiles-definitions that are essentially the same exact definition 
except that the title has changed (potentially you might want a 
definition to be used for more than just the two that I mentioned). 
This also requires that my struts config has to be set up to forward 
to multiple tiles definitions when its really the same page layout but 
with a different title and could really just require one definition to 
use.

I've thought of different ways I might want to handle this (ie set a 
title in request scope before leaving action and have the header.jsp 
look for this, or maybe use a filter or over-ride RequestProcessor?) 
I'm curious if others have run into this. Maybe the latest 
Struts/Tiles has a solution that I have not looked into.

Thanks

--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


OT Friday: Re: [ANNOUNCEMENT] New Struts subproject: Shale

2005-01-23 Thread Vic
I hope you think this is funny Jack, sometimes I amuse myself:
I think the shortest answer is that anyone un-happy (with multiple 
projects?) can: A. fork any friendly license like ASF and refactor under 
the terms of license, maintain the source code or see if they can 
develop a user community, B: use another non Struts project that they 
like better.

Who cares what the votes are, if any, and who cares if they have no time 
to report on everything. The more projects the better, let Darwin 
decide. Right now Struts has a large % production market share, so 
unlikley that anything bad could happen. I used Struts when it was not 
#1, I don't care much for "popular" opinion, I use my own analysis. (A 
good read is chapter on lemings by Waren Buffet book).
What was that platform where they tell us the "ONE" true way and their 
marketed "ONE" direction. Who knows where the market will go.

I have a request for the comitters: "What direction will the stock 
market go, and please send me a privately the ONE  stocks that will be 
largest % mover for the coming week every Monday before the market opens.".
This would make me a happier Struts user and would keep Struts in good 
light in my eyes. If you don't do that, I will think less of you the 
developers, and I say ASF should not let you comit any more code as 
pumishment for not making me happy. You OWE me that, for the privilage 
of me linking to your jars.
Else I will imeditley start using another MVC and tell all my friend to 
do the same! ;-)

Seriously gang, thanks for making it easy for us to have sucess full 
proejct. Thanks for all the Struts modules and your code donations to 
the community.  Source code = good.

.V
Dakota Jack wrote:
Thanks for the answer.  My question is how the community was taken
into account and whether the details of the voting is secret or open?
Are the votes public or is the issue raised publicly?  Or is the
community taken into account privately?  I am just trying to get a
feeling for what the direction of Struts is likely to be and I cannot
do this without knowing what the workings are.  If they are private,
then they are.  If the votes are public, I would like to know what
they were.
Jack
On Sun, 23 Jan 2005 16:12:45 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
 

The PMC makes such decisions, but takes the community into account
when making the decision.
--
Eddie Bush
On Sun, 23 Jan 2005 13:13:15 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
   

At the risk of being flamed, might I ask if this debate, vote,
whatever was public or limited to the PMC?  And, might I ask if this
was sub rosa (so to speak), is that typical?  I do not mean to suggest
anything but merely to gather information about the processes, since
these processes impact my use of Struts and my business decisions.
Thanks.
Jack

On Sun, 23 Jan 2005 13:03:02 -0800 (PST), Martin Cooper
<[EMAIL PROTECTED]> wrote:
 

The Apache Struts team is pleased to announce the adoption of its latest
subproject, Struts Shale, a JSF-based framework.
   


 


 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts Security

2005-01-23 Thread Vic
Tim Christopher wrote:
Hi,
I am designing a web application using Struts, which will run using
Tomcat.  The system will have upwards of 1000 users, with each user
having any number of around 10 possible roles.
I'm currently thinking of using JDBCRealm within the Tomcat
Sounds good
xml file
to set the roles for each of the users, 

You set it in DB not in XML.
then extending the
RequestProcessor to ensure only authorised users can enter the secure
area. 

You don't need to do that.
I then have a number of menu options that should only be made
visible to users with certain roles; 

Try Struts menu.
hth,
.V
I intend to use logic:present
role=".." or req:isUserInRole role="..." to do this - from what I can
see they are functionally identical(?).
I guess what I'd like to know is:
* Will this approach actually work?
* Is there a better way?
* Will any changes to user roles made within the database
automatically update the roles that tomcat uses from the JDBCRealm, or
will it require a server restart?
* Also if I use a check within the jsp like logic:present role=".."
to decide if a component should be dispalyed, I have read it is also
advisable to require to presence of a role to use the Action.  This
method will require two updates to allow an additional an additional
role to access a resource (update in the jsp, and in the xml file) -
is there a way around this?
Thank you in advance,
Tim Christopher
 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts Web Service project on SF.net

2005-01-23 Thread Vic
I have used Axis w/ Struts My opinion is that Axis is very poor and 
complex SOAP.
Also, there are better SoA protocols.

The news here is Chain. That is the power.
.V
Will Stranathan wrote:
Not to show how terribly behind the times I am, but isn't that 
precisely one of the things Axis does?  You pop a war file into your 
container, add your existing business code, and voila, standard java 
methods are exposed as web services?

Not saying your plans won't cure cancer, but are you reinventing the 
wheel?

w
On Sat, 22 Jan 2005 18:24:10 -0500
 "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
Leon Rosenberg wrote:
The goal is pretty much what you quoted above... If you have an 
existing Struts-based application, and you want to expose portions of 
it as Web Services, this allows you to do it without changing any 
code, or introducing a new server element, or adding a bunch of extra 
dependencies.

I did originally have more grandiose plans, but that's what it boils 
down to now.


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts Web Service project on SF.net

2005-01-22 Thread Vic
Sounds like an interesting project. Once 1.3 is a bit more stable but 
before it's released I will look for a good way to integrate JDNC 
(Swing WebStart) into 1.3 so I will keep an eye on. Chain is very simple 
and very powerfull.
.V

Frank W. Zammetti wrote:
Just wanted to drop a note to let everyone know that I've set up my 
first SourceForge project... SF will now be the home of my Struts Web 
Services project.

http://sourceforge.net/projects/strutsws/
For those of you that don't know about this project... it's basically 
a way of allowing you to take an existing Struts-based application and 
expose portions of it as Web Services WITHOUT changing your code at 
all.  It allows you to treat your Actions as the service providers, so 
any security mechanisms, validations and such that you've already 
built into the app can still be used.  It's not perfect, and it's not 
an all-encompassing solution to Web Services, but when your boss tells 
you on Monday that you need to expose functions A, B and C from your 
existing app as Web Services by Wednesday, this might be a good answer.

My thinking is that it's probably not going to go a whole lot further 
in it's current form... Doing what I've done in the new chain-based 
Struts should be almost trivial, and that seems like the next logical 
step.  I just have to free up some time to throw it together.

But, in the mean time, this could still be relevant and helpful to 
some folks.

P.S. - As I said, it's my first experience with SF, and with CVS as 
well, so I've likely set some things up wrong.  But, at the end of the 
day, the code and everything else is up there, so it's probably good 
enough.


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Database Pooling

2005-01-21 Thread Vic
Use your container for data source(Tomcat) The data source element in 
sturts should not be used.
Can you point out where in docs or on Struts page it says to use 


.V

Scott Purcell wrote:
Hello,
I am just getting underway with Struts, but have done quite a bit of homework 
before submitting this query.
Before starting with struts, I configured my Tomcat server to handle DBCP through the 
server.xml for a web-app I configured. But now with struts, I notice that there is a 
 element that must be filled in.
So according to the docs, for basic (not pooled)


 
 
 
 
 
 
 
 
 
 

 
But my question of course, is I need the database pooling capability. How 
do I configure that and access connections? I have googled, but I am getting 
quite a bit of subjective matter back.
Could someone please lend a hand?
Thanks,
Scott K Purcell | Developer | VERTIS | 
555 Washington Ave. 4th Floor | St. Louis, MO 63101 | 
314.588.0720 Ext:1320 | [EMAIL PROTECTED] | http://www.vertisinc.com   

Vertis is the premier provider of targeted advertising, media, and 
marketing services that drive consumers to marketers more effectively. 



 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JDBC Driver

2005-01-21 Thread Vic
Writing own JDBC is not Struts-like and less effective imo.
I am sure some shops write their own MVC so that they don't code to 
servlet. I say use Struts, it's got docs.
Back to the 2 choices I mentioned as more effective.

.V

Eddie Bush wrote:
I agree with your premise.  However, some shops like to keep things
elementary -- like to cook their own dog food so they know what it's
made of.
I'm far too lazy to write JDBC calls everywhere, and this seems to be
the dominant behavior of folks :-(  Once I get the spit and polish of
my subsystem, I'm going to push it as a better solution -- that was
cooked in-house -- to help speed production and reduce errors (since
folks don't have to write JDBC).  The reuse I've seen so far where I'm
at is "Oh, copy this or that".  It's true that this is sometimes on
the file level, but I much prefer having drop-in, easily-configurable
components.  Hopefully, I'll be able to infect everyone around me with
the same attitude ...
It ain't iBatis (or some other OS package), and it probably never will
be, but it beats the dog out of coding directly to JDBC :-)  I totally
agree that "raising the level" above JDBC is an important step ... but
my point is that some of us will have to do the level-raising
ourselves - by hand.
On Tue, 18 Jan 2005 19:50:00 -0600, Vic <[EMAIL PROTECTED]> wrote:
 

DAO is better, there are SQL based DAO that do not use O/R at all (iBatis).
Also, there is Spring JDBC wraper.
2 good choices.
I too do not use O/R at all.
It just helps you leverage code that is tested and working.
.V
Eddie Bush wrote:
   

... actually, some of us.  Why?  Because our "standards" (rather, the
standards of the company we work for) say that we're not using some
hot-diggity O/R mapper.
There are a myriad of reasons for doing things this way - none of
which I'll go in to here.  Fact is, what it really boils down to:
It's "easy" and whoever comes after you to do maintenance can be
reasonably expected to know how to deal with it if it gets broke.
... risk management.  I have a love/hate relationship with standardization ...
Peace :-)
Eddie
On Tue, 18 Jan 2005 07:05:41 -0600, Vic <[EMAIL PROTECTED]> wrote:
 

What does this have to do w/ Struts?
You can at least put a OT:
What DAO type are you using, you should post there. Hibrenate? iBatis?
Hopefully no one writes their own JDBC handling anymore.
.V
OT: MS Driver is horrible, everyone uses jTDS in proudction from sf.net
- including 1up.com based on Struts and MS SQL and iBatis DAO
Neil Meyer wrote:

   

It's causing a lot of problems as my sites get busier. Database deadlocks and
timeouts.
Neil Meyer

-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]
Sent: Tuesday,18 January 2005 10:43
To: Struts Users Mailing List
Subject: RE: JDBC Driver
What is wrong with the Microsoft driver?
-Original Message-
From: Neil Meyer [mailto:[EMAIL PROTECTED]
Sent: 18 January 2005 07:14
To: user@struts.apache.org
Subject: JDBC Driver
Hi All,

I need a SQL 2000 JDBC driver. Which would you recommend or where can I
download a decent one? (Not Microsoft's driver)

Regards
Neil


===
This message has been scanned for viruses and dangerous
content using Vet Anti-Virus Protection and is believed
to be clean.
===
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

--
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a community
My blog <http://www.sandrasf.com/adminBlog>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

   


 

--
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a community
My blog <http://www.sandrasf.com/adminBlog>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


 


--
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a community
My blog <http://www.sandrasf.com/adminBlog>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JDBC Driver

2005-01-18 Thread Vic
DAO is better, there are SQL based DAO that do not use O/R at all (iBatis).
Also, there is Spring JDBC wraper.
2 good choices.
I too do not use O/R at all.
It just helps you leverage code that is tested and working.
.V
Eddie Bush wrote:
... actually, some of us.  Why?  Because our "standards" (rather, the
standards of the company we work for) say that we're not using some
hot-diggity O/R mapper.
There are a myriad of reasons for doing things this way - none of
which I'll go in to here.  Fact is, what it really boils down to: 
It's "easy" and whoever comes after you to do maintenance can be
reasonably expected to know how to deal with it if it gets broke.

... risk management.  I have a love/hate relationship with standardization ...
Peace :-)
Eddie
On Tue, 18 Jan 2005 07:05:41 -0600, Vic <[EMAIL PROTECTED]> wrote:
 

What does this have to do w/ Struts?
You can at least put a OT:
What DAO type are you using, you should post there. Hibrenate? iBatis?
Hopefully no one writes their own JDBC handling anymore.
.V
OT: MS Driver is horrible, everyone uses jTDS in proudction from sf.net
- including 1up.com based on Struts and MS SQL and iBatis DAO
Neil Meyer wrote:
   

It's causing a lot of problems as my sites get busier. Database deadlocks and
timeouts.
Neil Meyer

-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]
Sent: Tuesday,18 January 2005 10:43
To: Struts Users Mailing List
Subject: RE: JDBC Driver
What is wrong with the Microsoft driver?
-Original Message-
From: Neil Meyer [mailto:[EMAIL PROTECTED]
Sent: 18 January 2005 07:14
To: user@struts.apache.org
Subject: JDBC Driver
Hi All,

I need a SQL 2000 JDBC driver. Which would you recommend or where can I
download a decent one? (Not Microsoft's driver)

Regards
Neil


===
This message has been scanned for viruses and dangerous
content using Vet Anti-Virus Protection and is believed
to be clean.
===
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a community
My blog <http://www.sandrasf.com/adminBlog>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


 


--
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a community
My blog <http://www.sandrasf.com/adminBlog>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


OT and not URGENT : CMS Driven static site and Struts

2005-01-18 Thread Vic
http://www.opensourcecms.com
I use Drupal.
hth,
.V
Jim Barrows wrote:
On Tue, 18 Jan 2005 13:49:11 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
 

Jim Barrows wrote:
   

On Tue, 18 Jan 2005 06:24:01 -0800 (PST), nitin dubey
<[EMAIL PROTECTED]> wrote:
 

I respectfully disagree with this (unless you guys are talking about
some other specific product or framework that I'm not recognizing) so I
thought you should hear another opinion. I use Struts and like it, and
would even go so far as to say it's the first thing I would consider in
many situations, but I wouldn't tell you that you can't build a good Web
app without it (or any other framework for that matter). I have built
   

Building a web app without a pre-built, done ofr you  framework?  
It's kind of like the difference between going to the tire store and
buying a tire, as opposed to sticking a spigot in a rubber tree (or
however they get rubber these days), and building it yourself.
Then you get into what happens to those who come after you?  The one
thing I hate doing is trying to figure out someonelses undocumented
framework.  Where do you go for help?  Who's responsible for fixing
it?  Where does your client get your expertise if your not available?
If I'm not writing business specific code, I'm wasting my clients
money.  I use other peoples well known and documented frameworks
whenever possible.

 

some nice Web applications that didn't use any controller framework
(other than my own) or even any tags or any JavaScript for that matter.
   

My definition of a good web site includes "No Javascript".
 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JBoss does not reflect changes without restart

2005-01-18 Thread Vic
Hey Sachin from Mubai,
Did you ask on the jBoss list?
What did they say?
Did you ask on Tomcat List?
What did they say?
.V
sachin wrote:
hi all , 

I am using JBoss 4.0.1 and struts 1.2.4
Whenever i make any changes in my project and compile it 
JBoss does not reflect the chages .. Here i need to restart the JBoss and 
then it shows the changes...

i got fed up with stopping the server and restarting it for so many times ..
Plz can anyone tell me how JOBSS can be configured so that it will reflect 
changes without restarting...

Thanks in advance
cheers,
Sachin Hegde
Paradyne Infotech Limited , Mumbai
09324546711
 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


OT Re: AW: How to limit the result?

2005-01-18 Thread Vic
Yes, JSTL is doing Data in View.
Action is doing Data in Controller.
Data ... is done in data layer, depending on your DAO.
Again http://ibatis.com/common/example.html - if you look at bottom of 
page about pageNext.

Hopefully no one is writing to JDBC anymore, but using a DAO impl. That 
be like writing to Servlet and not using Struts.

You can limit the # of rows that come back in Transact SQL, pgSQL or 
plSQL. Tell me what Transact SQL mail list you are on (usenet?) and I 
will answer it there.

.V
JDBC/DAO questions are OT for Struts. Soon... hopefully view questions 
will be, so you can go to Tagblibs list or what view you use for that.

Leon Rosenberg wrote:
Despite the honourable wish to help,
How does an advice to use jstl-sql tags relates to a struts-user list?
To the original question:
Why don't you put exactly the same amount of databeans in your arraylist as
you want to show? And where do you do it? Exact, in your action.
Alternatively you could use one of many paging taglibs out there (check
sourceforge).
 

-Ursprüngliche Nachricht-
Von: David Bolsover [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 18. Januar 2005 11:47
An: Struts Users Mailing List
Betreff: RE: How to limit the result?
Processing ResultSets into custom beans can be a frustrating process..
You should have look at javax.servlet.jsp.jstl.sql.ResultImpl and
associated
classes.
You will find in the jstl source distribution.
Essentially, with a little effort, these classes will process a ResultSet
and return a javax.servlet.jsp.jstl.sql.Result object. The Result object
is
easily itterated over in your JSP
db

-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: 18 January 2005 09:34
To: Struts Users Mailing List
Subject: Re: How to limit the result?
After long search i found out that MSSQL does not support Limit / range of
records to be fetched.
Now i am thinking ->
1)putting each row into one databean.
2)Put databean into ArrayList
3)send this arraylist back to JSP
with jstl tags i can loop through it and display. ...
But how i can decide it has reached page limit ? because at that point of
time i want to display my footer (and header for new set).
Is there any way to set some variable and keep on incrementing it .. check
for pagesize and then include header/footer etc...
Is there any better solution ? Am i going a long way ?
regards
Manisha


Manisha Sathe <[EMAIL PROTECTED]> wrote:
I have a query which results into large data. This data i want to display
in
a group of 20. After every 20 records i want to add header and footer to
it.
Is it possible to get the result set data into batch of 20 ? means can i
specify start and end index of query ?
regards
Manisha

-
Do you Yahoo!?
The all-new My Yahoo!  What will yours do?
-
Do you Yahoo!?
The all-new My Yahoo!  Get yours free!
===
This message has been scanned for viruses and dangerous
content using Vet Anti-Virus Protection and is believed
to be clean.
===
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JDBC Driver

2005-01-18 Thread Vic
What does this have to do w/ Struts?
You can at least put a OT:
What DAO type are you using, you should post there. Hibrenate? iBatis?
Hopefully no one writes their own JDBC handling anymore.
.V
OT: MS Driver is horrible, everyone uses jTDS in proudction from sf.net 
- including 1up.com based on Struts and MS SQL and iBatis DAO

Neil Meyer wrote:
It's causing a lot of problems as my sites get busier. Database deadlocks and
timeouts.
Neil Meyer

-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED] 
Sent: Tuesday,18 January 2005 10:43
To: Struts Users Mailing List
Subject: RE: JDBC Driver

What is wrong with the Microsoft driver?
-Original Message-
From: Neil Meyer [mailto:[EMAIL PROTECTED]
Sent: 18 January 2005 07:14
To: user@struts.apache.org
Subject: JDBC Driver
Hi All,

I need a SQL 2000 JDBC driver. Which would you recommend or where can I
download a decent one? (Not Microsoft's driver)

Regards
Neil 



=== 
This message has been scanned for viruses and dangerous 
content using Vet Anti-Virus Protection and is believed 
to be clean. 
===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to detect empty array list / databean on JSP?

2005-01-16 Thread Vic
 likey that any "decsions' you shound do in Controller/Action.
.V
Manisha Sathe wrote:
I am putting one arraylist and one javabean object with request.setAttribute.. 

I can access this in JSP. But how i can detect that Arraylist and/or Bean is empty ? 

regards
Manisha
		
-
Do you Yahoo!?
The all-new My Yahoo! – Get yours free!
 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Re: Using XML in struts

2005-01-14 Thread Vic
You do need a life.
But... I just bought 2 books from your list.
I keep a track of cool design ideas here: http://sandrasf.com/kiss - so 
if anyone wants to append there they can.

(I like "SQL Tuning", "SQL for smartites" and Doug Lea's book on 
concurency.)
.V


Erik Weber wrote:

Joe Germuska wrote:
Also, while I see your point that the overall concept of DOM might 
be more sensible in theory than that of SAX, I found that it's just 
easier to get going with the SAX API than with DOM or even JDOM. You 
can get something working with very few lines of code, and good 
examples are all over the Web. SAX can be a pain to debug though.

Certainly not "more sensible" -- in fact, I've seen over and over 
again people who aren't comfortable with SAX implement things that 
involve reading enormous amounts of XML using DOM and then running 
out of memory.  But they decompose the problem into "first, get 
everything in; then do something to everything" instead of "get one 
in, handle it, and discard it."

I was trying to agree with you. :) But yeah, you're right of course.

I read this awesome book called "Building Parsers in Java" a couple 
years ago

That sounds worth looking up...
These days, so many books are about how to use vendor products or 
APIs. "Mastering" this or that, "Up to Speed" with this or that, and 
the ever popular "Professional" this or that. I'm not knocking those 
-- I need those too of course. But I really appreciate getting my 
hands on those rare books that just focus on the fruits of someone's 
creativity and inventiveness. You may never need to create your own 
language or even build your own regular expression parser, but, do you 
enjoy the art of programming? Do you enjoy math and science? Do you 
like to learn about different ways to approach the same problem? Do 
you like to build a better mousetrap? Dragging and dropping beans and 
jar files is not my idea of a good time. Too bad all any client/tech 
shop seems to want is the same thing someone else already has done, 
with a new marketing twist. Once we have CRUD in a bottle for $19.95 
and all the legacy stuff is snuffed out, what will programmers do for 
a living? Ah, I'm just complaining as usual.

Anyway, of the dozens of Java books I have discovered and/or bought in 
the last few years, a few stand out in the way I described:

* "Building Parsers With Java", by Steven John Metsker, Addison Wesley 
(0-201-71962-2) -- creative, well organized, well written, well 
edited, just a nice piece of work that definitely wasn't "cranked 
out". A fun book about creating and interpreting your own languages.

* "Digital Audio with Java", by Craig A. Lindley, Prentice Hall 
(0-13-087676-3) -- ever wanted to know how to build a parametric EQ in 
Java, from the knobs and LEDs all the way to the wave shaping?

* "Java Design", by Peter Coad (TogetherSoft) and Mark Mayfield, 
Prentice Hall (0-13-981-6) -- offers a perspective on design that 
you probably won't find anywhere else (with chaper titles such as 
"Design with Threads" and "Design with Notification", and hand-drawn 
diagrams); forget that IDE and get out your pad and pencil.

Perhaps funny that I should say this, being a lover of lowest-level 
programming, but I have found that the books that have helped me the 
most as a programmer (in the long run) are ones about design patterns, 
idioms and algorithms (all high-level things in some fashion), rather 
than those about the latest API or product. Unfortunately I cannot 
back up that statement with $$$ earned -- at least not yet. The GoF 
book was published how long ago? How many tech books of today are of 
equal value? I guess it depends on your perspective.

Speaking of perspective, ever read "The Timeless Way of Building"? How 
about (wyy OT) "The Fourth Dimension"?

Man, I need a life. :)
Cheers,
Erik

But I appreciate your elaborating on commons digester. That's the 
one I was thinking of. I'll have to check that out. Also, I've never 
even looked at Spring. By the way, do you happen to know what type 
of parser either of those uses? Just curious.

Digester is a wrapper around SAX.  Digester itself extends 
org.xml.sax.helpers.DefaultHandler   And while the most common way 
people use Digester is to create a tree of objects, once you get 
inside it, you realize that you can do a lot more.  You can write 
Digester rules that do the aforementioned "get one, handle it and 
discard it" as well as the more common rules which do "get one and 
add it to the tree".

Joe


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: i18n (internazionalization) tutorial need

2005-01-12 Thread Vic
I use JSTL for that, you can download the spec from the JCP page; which 
is so well writen as a reference that it can ba a tutorial. Else buy a 
JSTL book.

.V
[EMAIL PROTECTED] wrote:
hi all i need a good tutorial (for free) for managing internazionalization with 
struts.
any help?
regards


Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. 
Abbonati subito senza costi di attivazione su http://www.libero.it

 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Security in Struts Application

2005-01-10 Thread Vic
I posted on wiki:
http://wiki.apache.org/struts/ApplicationSecurity
(any FAQ, maybe people create or edit WIKI)
.V
Hari Saptoadi wrote:
Hi All
i'd like to say sorry if someone already asked this question before...
what is best practice implement security in struts apps ?
i'm looking something that similar with acegi security but more suitable with  struts 

 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Configuring WebApp to use Struts Tag Libs

2005-01-09 Thread Vic
You don't need that at all. You can just in your jsp point to the tld in 
the jsp. (I normaly put them in WEB-INF/lib).
(or just have a header tile or include that declares all your jsps once)
hth,
.V

William Ferguson wrote:
OK,
I guess I've missed something fundamental, so someone please point out what
it is.
How do I declare the Struts (1.2.4) tag libs in web.xml so that :
1) Tomcat 5.0.28 can access them from Struts.jar at runtime
2) I can use the Ant Jasper task to compile my JSPs to validate them during
the build?
I have them defined as

 /tags/struts-html
 /META-INF/tlds/struts-html.tld

in web.xml as this seems to match the position in Struts.jar, but the Jasper
task complains with
D:\source\main\chopperheavysite\build.xml:178:
org.apache.jasper.JasperException: file:D:/Source/main/chopperheavysite/b
uild/weblog/extra-header.jsp(1,1) File "/META-INF/tlds/struts-html.tld" not
found
even though I have added Struts.jar to its classpath.
Any ideas?
William
 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Attributes, Parameter or Class

2005-01-08 Thread Vic
To access DB in Struts (and elsewhere) there is a Wiki page:
http://wiki.apache.org/struts/DaoRelated
So... anyone that wants to help people w/DAO can add to it.
.V
Jim Douglas wrote:
I have an LogonForm, LogonAction and when a user successfully logs on, 
I set Attributes for "userID" and "userName".

How would be the best way to make this information available to the 
Web App regardless of whether I need the data from within a JSP, 
servlet or class file(for example, building a dynamic query)

This is what I was trying to do and raised this issue(I can't get it 
to work)

public class SQL92FormDetailDAO implements FormDetailDAO {
private Connection connection;
public SQL92FormDetailDAO(Connection connection) {
this.connection = connection;
}
public List listFormDetail() {
List items = new ArrayList();
Statement statement =null;
try {
statement = connection.createStatement();
String userID = session.getAttribute("userID");
   String query = "select name, formdetail  from "
   + "forms where userID = " + userID;
Thanks,
Jim

--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Q. Should a J2EE architect be an HTML expert

2005-01-07 Thread Vic
No.
.V
kjc wrote:
Question to all.
Should a J2EE architect be an HTML expert.
Thanks in advance.

--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Seeking advice on JSP + commerce

2005-01-07 Thread Vic
PHP is more productive than J2EE becuase you start w/ exisiting working 
code, ex:
   http://www.opensourcecms.com/index.php?option=content&task=view&id=139
and modify it.

(unless you do RiA, where JDNC rules!)
.V
Erik Weber wrote:
Good morning. I need some advice. I have a friend who wants me to 
build his personal site. He is an artist and wants to put together an 
online portfolio. At first I was going to steer him toward finding a 
PHP programmer. But, with companies such as lunarpages now offering $8 
hosting rates, I think that JSP is a good solution for him (why else 
would you choose PHP besides price?).

The catch (for me) is, he wants to make some of his work available for 
online purchase. Merchant accounts, gateways, etc., is all new 
territory for me. I gather that there are two basic approaches for 
enabling commerce. The first is to use a complete third-party 
solution. Users are redirected to a third-party "store" site when it's 
time to buy. I want to avoid this approach if I can, but it could be 
OK as a temporary solution to get going I suppose. The second approach 
is to use your own solution. I break this approach into two 
sub-approaches. One is to implement from scratch. The other is to use 
some "boxed" commerce solution (there seem to be a ton of these in the 
PHP world), that works under the guise of your own site. I think this 
final approach is the one I like the best. Please correct me if I 
don't have this straight. I realize that there are two basic parts of 
a commerce solution. One is the "shopping cart" or site functionality 
(something I wouldn't mind implementing if necessary), the other is 
the commerce service (one I would rather not try to implement unless 
it's a lot easier than I think). In addition, I see that there are 
enabling services such as merchant accounts, credit card gateways, etc.

I could use your advice. Are there any good "boxed" JSP solutions you 
know of that I could use to get something going quickly? Do you know 
of any good (JSP-relevant) tutorials on this matter? I know my friend 
wants to start by allowing credit card purchases, but he also likes 
the idea of accepting PayPal and the like.

I would appreciate any ideas.
Erik

--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How many people plan to upgrade to Struts 1.3 on Servlet 2.2 (Tomcat 3) ? If any?

2004-12-31 Thread Vic
?
('cuase Servlet 2.3 (Tomcat 4) has JSTL instead of bean/logic tags)
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to start the application?

2004-12-31 Thread Vic
Take a look at the Struts tutorials links from Struts home page; or 
google them. Or Struts Books.
Maybe you can unjar the Struts start war and get the action to call your 
html.
.V

S.B. wrote:
I am about to start building a new application. I have a html mockup
page.
What's the initial steps to build the applications considering that
page? 
What classes/do I need to start? Any suggestions?
 


--
RiA-SoA w/JDNC  forums
- help develop a community
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


test - please ignore

2004-12-24 Thread Vic
please ignore 
--
RiA-SoA w/JDNC  forums
- help develop a coomunity
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts tags / JSTL question

2004-12-23 Thread Vic
A collection?
c:for each !
.V
Vinicius Caldeira Carvalho wrote:
Hi there!
I have a collection of beans, and this collection is set to the 
request. I'd like to retreive only the first object of the collection 
(later on I'll iterate over it completely) How can I do this? My 
Collection is a List.
I tried 
and also 

none of 'em seems to work. Any ideas?
Thanks all

--
RiA-SoA w/JDNC  forums
- help develop a coomunity
My blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


online book(not free) and free video solutions

2004-12-18 Thread Vic
http://wiki.apache.org/struts/StrutsTutorials - videos are free. 
Tutorial builds from lab to lab and you build a full realistic DB 
master/detail CRUD, w navigation, and most commonly used features. Check 
out the video - 30 of them, one for each lab.
( ... as I move to new Sun Swing Extensions /JDNC ;-) ; some of you are 
still doing Java legacy html (vs LAMP) so above may help; I am not 
likely to want to support it, go to Infonoia.com for support maybe. I 
even got rid of baseBeans.com and basicPortal.com domains )

Also, from time to time I make an IDE that includes JRockit 1.5, Eclipse 
3.1 (for 1.5) w/XML, Tomcat 5.5, Ant 1.62, PostgreSQL 8.msi, and a few 
samples and usefully docs and pdfs -all open source. Useful when I teach 
a class to set up all the students ... or if you show up on client site 
and do not want to spend 1/2 a day integrating.  You just unzip and run:
http://sourceforge.net/project/showfiles.php?group_id=126375&package_id=138662
I will  be updating this now and then but will only post notice to 
http://sandraSF.com/forums.

So when I teach JDNC RiA-SoA, I use above to set up students so it's not 
a mess.
hope somone has a use for it. I wonder if the IDE should be linked in 
Wiki, sometimes newbies are not shure how to set up the eviroment.

.V
--
RiA-SoA w/JDNC  forums
blog 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  1   2   3   >