The Artima Developer Community
Sponsored Link

Java Buzz Forum
Package Visibility for Injected Fields

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Franco Martinig

Posts: 5631
Nickname: martinig
Registered: Apr, 2003

Scrum Expert
Package Visibility for Injected Fields Posted: Jun 27, 2012 1:36 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Franco Martinig.
Original Post: Package Visibility for Injected Fields
Feed Title: Java Software Development Videos and Tutorials Directory
Feed URL: http://www.java-tv.com/feed/
Feed Description: Java-TV.com is a directory of videos, interviews and tutorials focused on software development activities with the Java programming language.
Latest Java Buzz Posts
Latest Java Buzz Posts by Franco Martinig
Latest Posts From Java Software Development Videos and Tutorials Directory

Advertisement
Package visibility for injected fields encapsulates way better than public accessors and makes unit testing more convenient at the same time. This video done with NetBeans 7.2 Java EE edition and Glassfish 3.1.2 demonstrates what can happen in worst case. Video source: http://www.adam-bien.com/roller/abien/entry/inject_with_package_private_fields

Read: Package Visibility for Injected Fields

Topic: Web Frameworks on JBoss Previous Topic   Next Topic Topic: Odd practices in Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use