Java Architecture Example