Danilo Dadonas

Ranch Hand
+ Follow
since Aug 24, 2007
Danilo likes ...
Eclipse IDE Hibernate Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Danilo Dadonas

I developed some webapps with flex/blazeDS. It was a good experience. But I think it's not (maybe yet) a good idea to develop wesites.
OK, Paul. My choice is HTML/AJAX.

Thanks a lot.
7 years ago
Right, Paul. But what languages/frameworks would you use to develop the client side? HTML/CSS, JQuery, Servlets/JSP, Wicket, Tiles, Velocity? What kind of technologies websites like amazon.com has been used? The server side is easy to me because I've worked with java for years. And maybe it's the problem. I'm a java programmer and I have dificult do make a rich client side. That's why I'm trying to use a good RIA.
7 years ago
Hi. I'm gonna develop an e-commerce but I'm having problem deciding what kind of technology to use. I'd like to use flex + Java, but I never saw an e-commerce built and working over flex. What do you think?

Thanks.
7 years ago
My advice is to begin from here: Head First Servlets and JSP
8 years ago
JSP
I never declered a parameter using "?". Try to use something like this: ":parameter_1".

Example:

Hi,

What is the best IDE to develop Swing based applications?
And what is the most commom plug-in?

Thanks.
9 years ago
Hi David. In this case you're trying to clone a bean. You can implement the Cloneable interface, like this:



...and now you can do this:



Dadonas
9 years ago
If you just put validate in the view it should not solve the problem. If you have a select with options listed from the server, you can hack it adding values using some free tools. In this case the user can put wrong values if the business tiers isn't validating the data. I've used AJAX to validate some simple features like if the value is a string, number, the length, etc. After the submit, the data is filtered by the business tier where the simple features are validated again + the business rules. I this case I'm using Hibernate Validator. After the business validation, the object is submited to the Data Access Tier where it is ready to be persisted. Pretend you are registering a customer; the class model should be:

customer.jsp > customer_validator.js > CustomerAction > CustomerBO > CustomerDAO > Repository

bye.

[ December 01, 2008: Message edited by: Danilo Dadonas ]
[ December 02, 2008: Message edited by: Danilo Dadonas ]


This is a pretty standard practice.



Thank you Stevi. It's just what I had to know.
10 years ago
Hi, all. I'm working to an Company which is using Oracle as database. Each table has another table named log. For example:

EMPLOYEE -> EMPLOYEE_LOG
CUSTOMER -> CUSTOMER_LOG

For each table, there is a trigger wich inserts a row in the log table when user updates or deletes a row in the table.
They have it to know in the future what user did perform the action of update or delete.

Is it a best practice? The is another way to do this?

Thanks.
10 years ago
What container are you using? Tomcat, JBoss, ...?
10 years ago
Hi for all. I don't know why the autocompleter tag is rendered before the textfields in this example:



What's wrong?

Thanks.
10 years ago
I'll try. After, I'll post the code.

Thanks.
Ok, Paul, I agree. Won't I have problem if I use ActionForm to retrieve this object with null properties?