Edgar Sanchez

Greenhorn
+ Follow
since Oct 12, 2000
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 Edgar Sanchez

I guess I saw one too many discussion threads that started interestingly enough but then get mudded with personal interest, emotional bias or just plain ignorance (relax I am not talking specifically about this forum), so I decided to create a place ( http://www.tlon.info/jive/forum.jsp?forum=1 ) without any software vendor as sponsor and do my best to drive it into hard facts, technical ones especially of course but recognizing the importance of factors as market share, community maturity, political context, etc.
So I opened a site with the idea of offering a place for non-partisan discussions among people dedicated to the development of software systems, especially -but not limited to- business applications.
As I am deeply convinced that so far the best way to develop business applications is using object-oriented technologies, the first discussion forum that I am offering is devoted to object oriented development. So take a look at http://www.tlon.info/jive/forum.jsp?forum=1 and say whatever it is that has been bugging you about O-O development, be it about design, EJBs, web services, languages (Java, C#, Python, Eiffel), O-R mappings and any other O-O related issue, just try to keep an open mind and focus on the practical side (as opposed to passionate rantings or conspiracy theories).
Best of luck,
Edgar S�nchez
CTO
http://www.objeq.com
20 years ago
I guess I saw one too many discussion threads that started interestingly enough but then get mudded with personal interest, emotional bias or just plain ignorance (relax I am not talking specifically about this forum), so I decided to create a place ( http://www.tlon.info/jive/forum.jsp?forum=1 ) without any software vendor as sponsor and do my best to drive it into hard facts, technical ones especially of course but recognizing the importance of factors as market share, community maturity, political context, etc.
So I opened a site with the idea of offering a place for non-partisan discussions among people dedicated to the development of software systems, especially -but not limited to- business applications.
As I am deeply convinced that so far the best way to develop business applications is using object-oriented technologies, the first discussion forum that I am offering is devoted to object oriented development. So take a look at http://www.tlon.info/jive/forum.jsp?forum=1 and say whatever it is that has been bugging you about O-O development, be it about design, EJBs, web services, O-R mappings and any other O-O related issue, just try to keep an open mind and focus on the practical side (as opposed to passionate rantings or conspiracy theories).
Best of luck,
Edgar S�nchez
CTO
http://www.objeq.com
20 years ago
I guess I saw one too many discussion threads that started interestingly enough but then get mudded with personal interest, emotional bias or just plain ignorance (relax I am not talking specifically about this forum), so I decided to create a place ( http://www.tlon.info/jive/forum.jsp?forum=1 ) without any software vendor as sponsor and do my best to drive it into hard facts, technical ones especially of course but recognizing the importance of factors as market share, community maturity, political context, etc.
So I opened a site with the idea of offering a place for non-partisan discussions among people dedicated to the development of software systems, especially -but not limited to- business applications.
As I am deeply convinced that so far the best way to develop business applications is using object-oriented technologies, the first discussion forum that I am offering is devoted to object oriented development. So take a look at http://www.tlon.info/jive/forum.jsp?forum=1 and say whatever it is that has been bugging you about O-O development, be it about design, EJBs, web services, O-R mappings and any other O-O related issue, just try to keep an open mind and focus on the practical side (as opposed to passionate rantings or conspiracy theories).
Best of luck,
Edgar S�nchez
CTO
http://www.objeq.com
20 years ago
I guess I saw one too many discussion threads that started interestingly enough but then get mudded with personal interest, emotional bias or just plain ignorance (relax I am not talking specifically about this forum), so I decided to create a place ( http://www.tlon.info/jive/forum.jsp?forum=1 ) without any software vendor as sponsor and do my best to drive it into hard facts, technical ones especially of course but recognizing the importance of factors as market share, community maturity, political context, etc.
So I opened a site with the idea of offering a place for non-partisan discussions among people dedicated to the development of software systems, especially -but not limited to- business applications.
As I am deeply convinced that so far the best way to develop business applications is using object-oriented technologies, the first discussion forum that I am offering is devoted to object oriented development. So take a look at http://www.tlon.info/jive/forum.jsp?forum=1 and say whatever it is that has been bugging you about O-O development, be it about design, EJBs, web services, O-R mappings and any other O-O related issue, just try to keep an open mind and focus on the practical side (as opposed to passionate rantings or conspiracy theories).
Best of luck,
Edgar S�nchez
CTO
http://www.objeq.com
20 years ago
For large amounts of HTML you will go better using a JSP page, process your post with a servlet then forward to a JSP page to present the results.

Originally posted by Rafael Rangel:
Is there a way for a servlet to output a large HTML file with some JavaScript code in it? So far, all the servlet examples that I've seen only output simple HTML (like Hello World). Is there a better way than:
output.println( "<html> . . . large html code with some java script . . .</html>" );


20 years ago
No, you are right, for big amounts of HTML is better to use JSP pages with tags to minimize the Java code inside of the pages. Servlets should be used mainly to process posts, invoke business logic and then route to JSP pages that actually present the results.

Originally posted by timothy zimmerman:
Keep in mind when I ask this that I am just a greenhorn but would make sense to possibly use a jsp and tags? Maybe I am overusing them because I have just started getting in to them but I find them much more flexible than servlets when generating pages with a lot of information.


20 years ago
You mean to include an HTML file as part of the output generated by a servlet?

Originally posted by Joe Lopes:
How to call HTML file from Servlet program.


21 years ago
Having participated in projects in both ASP and JSP, I can tell you:
1. You can get more or less same level of tutorials, articles and code samples for both technologies. Info for ASP tend to be more centralized MSDN being enough in the majority of cases for ASP.
2. There are a mushrooming number of open source projects on JSP that seems to be outnumbering similar projects in ASP.
3. Applets are more sophisticated in terms of processing and (especially) visual possibilities. But are harder to get working right in all browsers, all OS. HTML + DHTML + Javascript is far more easier to get working (if not as visually appealing as an applet) in this kind of environments (read: the Internet). The firewall issue you mention is correct, albeit not as important as this one.
4. Java is a more sophisticated (in terms of semantic power) than VisualBasic so, even though it has a steeper learning curve, it allows for more natural and more maintanable solutions than ASP.
My advice: if you have the chance to choose, go ahead with JSP + servlet + Java business classes. You will suffer a bit at the beginning, but you will have your prize. If not, don't think you're too confined using ASP, it's sometimes too simplistic or too code-intensive but it does work.
Best luck,

Originally posted by shahul hameed:
We have a bunch of newbies trying to edge out a living using JSP ! But we have a doubt !
1. Do we get as much as freebies (Knowledge Resources)as ASP Code and Tips to do a fantastic Production site for JSP !
2. Why people dont use applet - Servlet - JDBC Model as much as JSP - Servlet - JDBC Model ! Is it because of reach with APplets behind firewalls
CAN SONEBODY SAY ! Forget ASP ! GO JSP !
Just need a Moral Push !


21 years ago
First of all, is this variable defined in the JSP itself, in a servlet, in a business class (and in this case as an attribute to the class or as a local variable). Give me some extra info and I'll try and help.
Best luck,

Originally posted by Kris:
Can Somebody help me to display varaible from JSP.
For Example String a ="Hello World". I want this message to be displayed from JSP.
Thanks in advance.
Kris


21 years ago
Tomcat is something of a hassle not as much with installation as with configuration and deployment (of new applications). On the other hand Resin is simpler. As for performance Resin is far faster than Tomcat (disclaimer: I am a real fan of open source non-commercial projects so I use Tomcat, so no bad feelings it's just that Tomcat still have room for improvement not that it's not production quality).
Best of luck,

Originally posted by Rajesh Hegde:
Hi ,
From the posts so far i gather that Installing and configuring Tomcat is pretty difficult. So I thought of trying Resin server as mentioned by our Sheriff Frank Craver. I must say that the installation was very simple and i could try out JSP and servlets instantly.
Let me know if any one else too has worked on resin. And Let me know how Resin compares in performance with other Servlet Engines like Tomcat.
Rajesh


21 years ago
Which version of ORACLE and of the ORACLE JDBC driver are you using?
Best luck,

Originally posted by Ben Roy:
Ok this isn't working. I'm using a JDatastore. I'm sending this query:
SELECT * FROM CALENDAR WHERE START_DATE = {d '2000-1-1'}
or
SELECT * FROM CALENDAR WHERE START_DATE = (d '2000-1-1')
The crazy part is that the first one (which is supposedly the way to do it) returns an error on the "{". It says it's an invalid character. If I use the "(" instead then I get an error after the "d" saying it was looking for ")" but found a "<string>" instead. Any thoughts?


You can indeed download de 3.23.28 version for Windows, look in the older and contributed section (the latest version 3.23.29 has not been released in binary format for Windows yet). For educational purposes it's more than OK.
You would also want to give a try to Interbase (www.inprise.com).
Best luck,
Edgar Sanchez

Originally posted by Paul Wheaton:
The docs say you can do Windows. But they say to download the zip file. I can't find a zip file.


Actually you have three options:


  • {d ...} will take a date only, e.g. {d 2000-12-20} if the column
    is a datetime, then the time is set to 0:00:00
  • {t ...} will take a time only, if the column is a datetime, then the date is set to Jan 1 1970 (or today, I'm not sure, check it out)
  • {ts ...} will indeed set a datetime column, the ts has nothing to do with timestamp columns, I know its confusing, remember the standard was originally set up by Microsoft ;-)

  • Best luck

    Originally posted by Ben Roy:
    One question. Will that work for a Date or Timestamp? The only reason I was suspicious was because of the "{ts". Sets off an alarm in my brain.


Take a look at my post in this discussion.
Hope that helps...
The documented way of passing dates in a string command is using date scape characters (this is a ODBC feature nicely cloned in JDBC), it looks like this:
INSERT INTO table (aNumber, aDateTime, aString) values (15, {ts '2000-12-18 23:45:12'}, 'Hello world')
A JDBC 1.2 compliant driver should convert the {ts 'yyyy-MM-dd HH:mm:ss'} into whatever format the underlying DB server is expecting, I've tried this in MS-SQL Server 7.0, Oracle 8.1 and MySQL and it works.
Best of luck,

[This message has been edited by Edgar Sanchez (edited December 18, 2000).]