Matt Rasking

Greenhorn
+ Follow
since Feb 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 Matt Rasking

Here's a good description of loops in J2SE 1.5, including a comparison of "while" and "for" with the new "for each" looping construct.
19 years ago
J2EE is an architecture blueprint that describes how you can use object-oriented Java to build enterprise-scale applications. You will find patterns which show you best practices on building interfaces, following the Model-View-Controller paradigm or maintainability. MOreover J2EE is a standard for application servers such as BEA WebLogic or JBoss, so that (at least in theory) you can move your system from one application server to another without to much compatibility issues.
Sun published a good FAQ and tutorial that should answer your questions on how J2EE ties in to your development.
Here's a section of Chapter 3 "Elements of a Web Site":
XSLT 2.0 Web Development Sample Chapter
Depends on your application. If you're building/maintaining a global application you might want to look into hosted content like Akamai, Keynote, Pivia or into Application Delivery Networks (there was a good article on computerworld.com on this recently).
If you're question is more towards the feasibility of caching anything for a web application than gif/js/static content is always good to look at. Storing static content on the web server reduces lookup times for these elements, which in turn reduces network traffic between your web servers and app servers. Of course if you're in a small intranet environment you might as well cache these things on the clients themselves, but the effort maintaining these caches and distributing content outweigh the performance improvements.
Web Servers and reverse proxies usually offer different levels of caching. Check out web-cache.com for a list of products and research in this area.
20 years ago
JSP
You might be interested in the work of the Web Services Interoperability Organisation, www.ws-i.org. They are in the process of creating sample applications, szenarios and recommendations about using web services.
Web services are technology-agnostic, so WS-I includes .NET as well as J2EE components.
21 years ago
I can recommend

Java & XML

by Brett McLaughlin, O'Reilly. It's a quite complete book, covering nicely differing approaches to use XML with Java (DOM, SAX, JDOM...). The new edition also covers additional topics such as SOAP and Apache Cocoon.
James, why do you want to use Tomcat for a VB forum? I believe for that the Apache webserver itself should be enough, it comes with PHP functionality. If you want to use Servlets and JSPs then you can use Tomcat as well, but PHP support will still be implemented on Apache.
21 years ago
You also asked about comparing the difficulty level of ASP and JSP. In my (limited) experience, JSP offers a lot more flexibility, especially through user-defined custom taglibs, which allow the developer to create their own templates for taglibs. This, on the other hand, might also increase the level of complexity, since more tags than the standard set now exist. Without a well organized development team and clear guidelines the implementation of these custom taglibs will be quite difficult.
Moreover JSP seems to be evolving somewhat faster than ASP, and herein lies a potential problem: As everywhere in the ever-changing Java world, version upgrades force the user to learn new tags every couple of months. While in principle this is good (continuous learning) it is quite hard to maintain or migrate a page because of compatibility issues.
21 years ago
JSP
I've used both DeCafe and DjJava, you can find a list of available decompilers at
decompiler.com or the link list of decompiler.com. I haven't tried to decompile any Sun JDK classes yet though, as one of the other posts said you can download the source code for them anyway.
Mandan,
for Bea Weblogic 6.1/7.0:
the managed servers are just instances of the same Application Server in a cluster. Therefore all EJBs in an .ear package can and would talk to EJBs on other managed servers, meaning on other nodes of the cluster.
However I have never deployed ear files, only jar files, since we migrated from WLS5.1 to 6.1 and the Classloader setting shave changes substantially. We found individual jar files a lot easier to handle than complete ear files. Check this out for more info:
WLS 6.1 Deploy EJB's
Regards,
Matt.

is it acceptable to write:
"User pushes button A to start batch program".


This level of detail should rather be put in test cases or the detailed design of your application. The use case should rather focus on a business process from an end-user's perspective, for example:
  • User retrieves data set from system
  • User edits the entry
  • User starts associated batch run
  • Note that each of these use case steps should also have a possible positive or negative outcome associated to them (what could happen, but not from a technical point of view).
    I also feel that most people just take certifications for their resume. Especially the US System of multiple choice tests is not really appropriate for the content of programming, often things like good archtiectural design are left out. But then again, I don't have any certifications to my name, would be interesting to get a post from one of the certified ranchers here to learn how much value the certification has to them in their everyday work, and not just in getting the job.
    Also take a look at this recent thread where Ivor explained some of the highlights.
    22 years ago
    Weeellll, I cannot say that I've yet figured out all the new enhancements Sun JDK 1.4 New Features Release Notes but I do like the new logging framework JDK 1.4 Logging Overview and the preferences JDK 1.4 Preferences. There's also a nice Tutorial available JDK1.4 Tutorial.
    22 years ago
    I found this article on O'Reilly's pages quite helpful to understand some of the basic terminology, it also contains some mroe links to example implementations:
    http://www.onjava.com/pub/a/onjava/2001/02/22/open_source.html
    22 years ago