ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button

Java and .NET Security

by Daniel H. Steinberg
ONJava Newsletter for 12/01/2003

Friends,

There are many obvious similarities in the Java and .NET platforms. This week the O'Reilly Network sites ONJava and ONDotnet jointly published the first in a series of four articles by Denis Piliptchouk on Java vs. .NET Security. In this first article, Denis looks at configuration and three aspects of code containment: Verification, Application Isolation, and Language Features. He concludes that "Java offers a lot of advantages with its configurability. When it comes to code containment, both platforms have pretty strong offerings, with .NET having slightly more choices and being more straightforward to use."

Sometimes you just need to rip through a text document looking for a particular match. Since J2SE 1.4, Java developers have been able to add regular expression techniques to the toolbox. If you're new to regular expressions, start with Hetal C. Shah's article, Regular Expressions in J2SE before heading to Friedl's classic book "Mastering Regular Expressions" or Tony Stubblebine's "Regular Expression Pocket Reference". Shah writes that the regex package "is quite handy and useful to the developers of search, extract, and replace systems such as search engines, rule-based data formation and transformation engines, EAI, and so on. Regular expressions are also used in extracting meaningful information from large chunks of text data". For kicks, you may want to also check out an article I wrote a while back for O'Reilly's Mac DevCenter that used this package for working with Apple iCal files.

Our java.net featured article is Joshua Marinacci's Taglibs: Designing Web APIs for the Non-Programmer. Joshua writes about providing tags for an intelligent but non-technical audience. For example, his calendar tag allows people to easily enter one-time or recurring events. His tree menu displays a file browser in a friendly, easily customizable way. Of course, as a bonus, he posts all of the code he uses.

To subscribe to the ONJava.com newsletter (or any O'Reilly Network newsletters), visit https://epoch.oreilly.com/account/default.orm and select the newsletters you wish to receive in your user profile (you'll need to log in with your existing O'Reilly Network account -- if you don't yet have an account, you'll need to create one).

To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the"Manage My Newsletters" link. For assistance, send help to

We also feature sponsored content from BEA Systems on Handling Mixed Content in a Strongly Typed World. Steve Traut writes that you probably have used XML to represent data and also have probably used XML to represent text. "But if you've ever taken a programming model that's designed for one purpose and tried to bend it to the other, there's a good chance you've cursed a bit over it. That line between data and text can feel like a wall." Traut uses XMLBeans "to keep the strongly typed access that's best suited for data while also handling the mixed content that comes with narrative text."

Coming later this week an article on P2P Sockets,

Daniel H Steinberg, editor
ONJava.com and java.net
daniel@oreilly.com

ONJava.com News and Weblogs

java.net Weblogs

Other Java News (channel -- LANG: JAVA)

Java Cookbook Recipe of the Day

Java Events

Other O'Reilly Network sites

O'Reilly Network

XML.com

ONLamp.com

O'Reilly and Associates

O'Reilly Java

ONJava.com Affiliates

Servlets.com.

JDOM.org


Return to list of ONJava Newsletters.

Return to the ONJava.com.