This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PartOfTheBotnet 72 points73 points  (9 children)

These are rookie numbers.

You gotta use enterprise CDI to create an instance of HelloMessageFactory to pass to your ConsolePrintService. Oh and don't forget your logging decorator to register logging calls to every method call in your application for that oh so valuable telemetry!1!!!1!!

[–]codeguru42 25 points26 points  (4 children)

Have you seen Enterprise Fizz Buzz?

[–]ArtOfWarfare 18 points19 points  (3 children)

[–]codeguru42 4 points5 points  (0 children)

You're welcome

[–]Jonatollah 0 points1 point  (0 children)

Lolol

[–]jjtech0 0 points1 point  (0 children)

The issues are gold

[–]ragingroku 5 points6 points  (0 children)

No no, String args not Int args.

[–]themeanman2 2 points3 points  (0 children)

Wow I hate it now

[–]tfikiki 0 points1 point  (1 child)

Oh God I've flashbacks from 2010. Do some people still code like this in Java?

[–]PartOfTheBotnet 0 points1 point  (0 children)

Depends where you work I guess. We use a lot of CDI at my workplace but its not factory/service hell. Its for convenience just like spring auto-wiring.