Horst Naujoks

Greenhorn
+ Follow
since Jul 12, 2002
Merit badge: grant badges
For More
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 Horst Naujoks

I guess you also mention Rails concepts like "Convention over configuration" and the DRY principle?
17 years ago
I think it' necessary to compare the right things together:

Ruby is a programming language; Rails (or better: Ruby on Rails - RoR, don't forget there's also Groovy on Rails - Grails) is a complete web framework including it's own persistency layer.
17 years ago
Normally an ajax app communicates to some server component like a servlet,jsp or ejb. While this component is responsible for the communication the database, you will find yourself in a familiar environment..

I've read the content of the book here: as far as I can see, this book focus primarily on the client side. The server side handles php, asp.net but not java.
I think the advice to avoid stateful session beans does't come from their cognition as "heavy weigth" objects. The true problem with sfsb is that they introduce higher demands on application servers in a clustered environment (transfering "state" from on server to another for the sake of failover, loadbalancing, etc.).
In my opinion, even with EJB3 it's still essential to carefully think about their usage.
After a long time programming with object-oriented languages like smalltalk and java I'm on the path to learn something new: object-oriented scripting. Of course, I've some experience with scripting in perl or php. But now, I'm more interested in "real world" usage of languages like groovy or ruby (especially for the "rails" stuff).

So I'd like to know why I should choose groovy over ruby, python, etc?

I know that Groory could be run within a normal java vm and therefore interact with normal java code, but has - compared to ruby - some performance drawbacks. As far as I know, ruby seems to more sophisticated syntax..

I very appreciate the efforts around the new scripting features of the coming java version, but choosing the "right" thing seems not to be so easy.
17 years ago
read the manual: web page

ok, I want to win this book too..
17 years ago
I guess that they are caching the Logger instances (the references) in a hashtable or something similar.
21 years ago
Since you using PreparedStatments, this kind of optimisation is already done. But probably you should try to replace the StringTokenizer ( see tip).
21 years ago
JSP
I'm using Lomboz for EJB development (with WLS). It's, resp. XDoclet is, wonderful tool for that.
Another useful (and working) plugin is JFaceDbc for DB Browsing and X-Men for editing XML files.
What you are locking for is almost a persistence framework .
Hereyou will find some useful information about your request.
data encapsulation, inheritance, polymorph, etc. - I guess
21 years ago