Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
The Internet

Submission + - Is Internet Porn Creating a Damaged Generation? 6

Hugh Pickens writes: "Dr. Terri Apter writes in the Independent that estimates are that 12 per cent of five- to seven-year-olds and 16 per cent of eight- to 17-year-olds have unintentionally stumbled onto some of the estimated 250 million pages of pornography on the internet, while 38 per cent of older teens admit to seeking out such sites. And what they find is a far cry from the magazines their parents might have stashed under their mattresses when they were teens writes Apter adding that a passing curiosity may be easily satisfied and the interest abandoned but that sexual images have a special vividness and power and may become addictive. The Witherspoon report makes it clear that countless women — and increasingly many men — have experienced the devastating effects of pornography addiction on their marriages and a report from NPR by an anonymous psychologist reports how her marriage was destroyed by her husband's addiction which began when he was about 10 years old and which she characterizes as "a drug so powerful it can destroy a family simply by distorting a man's perception of his wife and so lethal it may have the potential to render an entire generation incapable of forming lasting marriages." "Countless women — and increasingly many men — have experienced the devastating effects of their spouse's pornography use," writes the author. "Countless more will experience it in the future. It is our obligation as a nation to pursue the truth for their sake, no matter how inconvenient for some the verdict may be.""

Submission + - Book Review: JBoss AS 5 Development (packtpub.com)

RickJWagner writes: Book Review of "JBoss AS 5 Development" by Packt Publishing

I've just finished a review of the latest JBoss book by Packt Publishing. I wouldn't call it a development book, but wouldn't call it an administrative book, either-- it's really a little of both.

The book promises to cover a lot of territory, and it keeps it's promise. The 14 chapters, in a nutshell contain the following:

- Installation of the application server and Eclipse-based IDE toolkit
- Major differences between JBoss AS 5 and previous versions
- Customizing your JBoss installation
- Developing EJB 3 Session beans
- Working with JPA
- Writing a web application (JSF)
- The new JBoss messaging subsystem (JMS)
- Writing Hibernate applications on JBoss
- JMX and MBeans
- JBoss Web Services
- Clustering JBoss servers
- Writing Clustered Applications
- JBoss AS Security
- Securing applications under JBoss

Notice the last 4 chapters-- Intro to Clustering, then Writing Clustered Applications. Intro to JBoss Security, then Securing Applications. This will give you a hint about the depth the book provides-- it gives a reasonable overview, followed by a deep-dive into content a technician will find usable. I thought the book did a good job of presenting high-level content, yet providing the detail a code-slinger requires. Kudos to the author for that.

The book is reasonably illustrated. There are plenty of high-level illustrations (and some are needed, for the more abstract topics). The book also provides plenty of screen shots, mostly featuring JBoss Tools. More on that later, but for now let's say I was only moderately impressed with the performance of that set of tools.

As a developer/architect, I found the depth of the book somewhere on the middle-to-high-end. I don't think it's a good book for complete newbies-- rather, I'd suggest this book for devs that are already somewhat confident in their JEE coding abilities. You may be wondering why I'd say such a thing-- mostly it's because JBoss tools are just not in the same league as NetBeans 6.8 at this point. If you're a complete newbie to Enterprise Java, I'd suggest you first pick up a copy of NetBeans and GlassFish, then learn the ropes with this easy-to-use combo. Later, once it's all old hat you can pick up JBoss Tools.

This in no way diminishes the value this book will hold for a user of JBoss AS 5. There are plenty of expert level tips for performance, security, customizations, etc. There are also coding tips any developer will appreciate, hence my earlier assertion that this book straddles the developer/administrator line. If you're a JBoss user, you'll find some good stuff here, no doubt about it.

The book is written in an easy to read manner. If you're not an expert on the whole JEE stack, don't worry-- all the major components are given gentle introductory chapters that coach you through writing a JSF application, an EJB, a JPA application and a Hibernate one, etc. If you're lucky, the tools will behave as they're supposed to and you'll quickly have a reference application you can use to model your real-world needs. (If you're not lucky, you'll get some good practice at problem analysis and application debugging. Let's be real, that practice is going to come in handy if you truly are going to use JBoss in production. This is how experts are made....)

There's a lot of content here for a technical book. (There are surely smaller books. But then again, JBoss 5 brought some significant changes, so a big book is warranted.) Comparing this title to the old 'official' JBoss 4 AS doc I have a copy of, I'd praise this book for not filling pages with stuff I don't need to know. It also offers some candid quick-n-dirty tips in places that will give the developer some quick insites into the platform that can quickly be leveraged. Nice.

The author deserves a little praise for decent readability. Truth be told, those folks on the cutting edge of technology are not always the greatest communicators, written or otherwise. This guy makes everything flow well, though, so I give the book good marks in this regard.

All things considered, I'd recommend this book to the following audiences:
- Anyone planning to use JBoss AS 5 in production (Developer or Administrator)
- Intermediate to Advanced level Enterprise Java coders
- Architects in need of high-level descriptions of the latest JEE components

Audience I would *not* recommend this book for:
- Developers not yet proficient in Enterprise Java coding. You might work your way through the book, but you might spend a little time gathering valuable debugging experience on the way.

Happy Reading, and Happy Coding!

Author biography
Rick Wagner is a Sun Certified Enterprise Architect, Sun Certified Java Programmer, and member of the International Association of Software Architects. Rick lives in Arkansas with his wife and 3 kids. You can read his blog at www.rickwagner.blogspot.com"

The Internet

Submission + - Study links excessive internet use to depression 1

oxide7 writes: People who spend a lot of time surfing the internet are more likely to show signs of depression, British scientists said on Wednesday. But it is not clear whether the internet causes depression or whether depressed people are drawn to it.

Psychologists from Leeds University found what they said was "striking" evidence that some avid net users develop compulsive internet habits in which they replace real-life social interaction with online chat rooms and social networking sites.
Books

Submission + - Book Review - JBoss AS 5 Development (packtpub.com)

RickJWagner writes: Book Review for "JBoss AS 5 Development" by Packt Publishing

This review is for "JBoss AS 5 Development", which has the subtitle "Develop, deploy, and secure Java applications on this robust open source application server". Having gone through the book with IDE in hand, I would have to say I find the subtitle more indicative of the content than the first part of the title. Later I'll try to explain why I feel so.

The book promises to cover a great amount of territory. Roughly, the 14 chapters cover these topics:
- Installation of the application server and Eclipse-based IDE toolkit
- Major differences between JBoss AS 5 and previous versions
- Customizing your JBoss installation
- Developing EJB 3 Session beans
- Working with JPA
- Writing a web application (JSF)
- The new JBoss messaging subsystem (JMS)
- Writing Hibernate applications on JBoss
- JMX and MBeans
- JBoss Web Services
- Clustering JBoss servers
- Writing Clustered Applications
- JBoss AS Security
- Securing applications under JBoss

If that seems like quite a list to digest, I would agree. The last 4 chapters give a hint to the depth of content the reader will encounter. In those cases, the author first presents an overview chapter about how the application server handles the topic (clustering, security), then follows it up with a whole chapter about applying the implementation details. I thought this struck the right balance between being too high-level (as many books might be) versus being overly detailed (as the old JBoss 4 AS doc book could be in places.)

I think this book will be an excellent acquisition for anyone who is certain they will be working with JBoss AS 5. The author has a deep understanding of the application server and writes in an easy to understand style. The book covers a great amount of 'real world' territory that is sure to be of interest for anyone tasked with moving an application to production under JBoss AS 5. Subjects like security and clustering (must-haves in a production environment) are given enough coverage that they can be of immediate practical use. (Note: these topics are not of vital importance in a pure development effort. A great amount of development can be done without paying attention to either security or clustering.) This is one reason I consider this book to be an interesting blend of development material and administrative material-- it is clearly not a pure development book.

For those that are interested in learning JEE but are not certain they'll be using JBoss, I'd suggest they should consider this book but also compare it to other titles, perhaps one of Packt's excellent NetBeans/GlassFish titles. This is not the fault of the book-- the author does a good job of walking the reader through various exercises in building EJBs, a JSF front-end application, a web service application, etc. The reason I don't suggest this book for new students of JEE is that the raw toolkit is just not at the same level some other open source development stacks are at. (Notably, NetBeans 6.8 and GlassFish). Putting it plainly, there are more than a few things that can go wrong in putting together a JEE application with JBoss Tools-- if the user isn't seasoned in problem analysis and debugging, it could easily lead to frustrations and an unsatisfactory experience.

If you're already confident in your ability to write and deploy JEE apps, you should find this book to your liking. Intermediate to advanced JEE developers ought to find plenty of material to keep them interested. Performance tips, JBoss specific extensions, and expert usage tips for enterprise Java development all get good coverage. The author knows the ins and outs of using JBoss AS 5, and is generous in providing tips in effective usage of facets the reader is likely to encounter. The author also provides good high-level overview material (which usually precedes the detail), which helps keep the reader grounded in the larger context of what's being conveyed.

The book provides a reasonable number of illustrations, including screen shots of JBoss Tools wizard screens. I found these of reasonable value, but have to admit I'm of mixed emotions on the toolset itself. It does a great job of some things (I love the packaging wizard that let's you declaratively roll up .jars, .ears, etc.). On the negative side, it makes some actions much more difficult than they have to be. I thought the author did a good job of providing meaningful illustrations where an abstract idea was being presented, especially in the security and clustering chapters. I once made a presentation at JBoss World about studying for the Sun Certified Enterprise Architect exam using JBoss-- I wish I'd had those illustrations then! I guess my SCEA is now a depreciated asset-- maybe we'll have to study for 'Oracle' architectural credentials in the future.

All things considered, this book will be an excellent source of information and reference for anyone using JBoss AS 5. I'm sure it will prove value time and again as the reader delves into the various corners of enterprise Java. This book offers expert insites on many topics and does it in an easy to read manner.

Author biography
Rick Wagner is a Sun Certified Enterprise Architect, Sun Certified Java Programmer, and member of the International Association of Software Architects. Rick lives in Arkansas with his wife and 3 kids. You can read his blog at www.rickwagner.blogspot.com

Books

Submission + - Book Review - "GlassFish Administration"

RickJWagner writes: "GlassFish Administration" is a handbook for administrators, developers, and users of the GlassFish application server. Since GlassFish is the reference implementation for the Java EE stack, it stands to reason that an astute reader of this book will be exposed to all the slick features of JEE. (I found this to be true, by the way.) Since I've long been a fan of Sun's ability to make tools that are easy to use (at least as far as JEE allows), I dove into this title expecting to find new and easy ways to leverage the Enterprise Java stack. I wasn't disappointed.

This book promises to cover GlassFish from the point of view of the administrator. This has actually been an overlooked niche, I think-- there are many books to assist the JEE developer, but few are written exactly to help you when your role involves the care and feed for the running server. In addition to administrator-types, I'd also highly recommend this book to Enterprise Java Developers. A copy of this book, coupled with the excellent NetBeans IDE will give the user a powerful and easy to use toolkit for understanding the intricacies of JEE.

The table of contents promises the following:
- Basic GlassFish architecture
- Application deployment
- The usual administrative activities around connection pools, databases, and JMS queues
- Security (a must-have)
- Monitoring (Hey, that's good!)
- Clusters and High Availability
- Tuning and TroubleShooting (Tuning is another really good thing to see!)

The book delivers on what the Table of Contents promised, and does it in a very readable way.

I was especially pleased with the generous use of illustrations. The author made good use of diagrams to help the reader understand abstract ideas, as well as showing screenshots to help guide the reader through the GlassFish UI. As an unexpected bonus, almost every UI action was accompanied by the command line equivalent. (Very useful for those admins who like to script actions for repeatability and auditing purposes.) If you're like me, you probably don't mind using a graphical UI the first few times you do something, but the CLI is much faster once you know exactly what you're doing. For that reason, I'm really glad the CLI was given enough coverage.

The text was easy to read and packed with useful real-world advice on best practices for owners of a JEE Application Server. (Note that much of the advice given was not particular to GlassFish-- there are quite a few best practices here that can be applied to other App Servers as well.) I was especially appreciative of the sections on performance tuning and server monitoring, two areas that don't usually receive a lot of attention. Here are some particular likes and dislikes I had with this book:

Like
- Easy to read
- Lots of expert tips on app server usage
- Decent coverage of application development matters, could be used as a refresher for those of us who aren't JEE current
- Advice on tuning and monitoring always holds great value to 'real world' users

Dislike
- Covers GlassFish v2 extensively, but v3 is only covered by one chapter (in fairness to the book, version 3 is brand-spanking new and version 2 is the current production mainstay)
- I wish it contained a little more content on GlassFish development with Netbeans, as 'Beans and 'Fish are a dynamite combination (sorry, I couldn't resist. The two do go really good together, though.)

Conclusion:
I'd recommend this book for anyone who uses GlassFish, and anyone who needs an easy way to work with JEE. It's a really easy read.

About the author:
Rick Wagner is a Sun Certified Enterprise Architect and avid software developer. You can read Rick's blog at www.rickwagner.blogspot.com
Software

Submission + - Dependency Injection book-- a Developer Must-Read! (blogspot.com)

RickJWagner writes: "Manning has just published "Dependency Injection" by Dhanji R. Prasanna. I highly recommend this book for anyone working in a language that lends itself to DI.

If you're not yet a DI user, you need to read this book! Dependency Injection leads to more modular code and easier testing, among other blessings.

If you're already a DI user, you owe it to yourself to listen to the sage advice of Mr. Prasanna. This man knows his business, and he offers many best practices and considerations for writing great code in a variety of environments. (For example, he has sections dealing with AOP, multi-threading, authoring frameworks, etc.) This book is really a best-practice guide for software development in the guise of DI text.

Check it out! This one makes my favorites list."

Slashdot Top Deals

Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record.

Working...