-
1. Re: [forge-users] And what about have "utility" commands ?
gastaldi Nov 8, 2014 8:14 AM (in response to Antonio Goncalves )That sounds like a good idea. +1
Em 08/11/2014, às 09:28, Antonio Goncalves <antonio.mailing@gmail.com> escreveu:
Hi all,
In my projects I tend to repeat some utility code again and again. For example, produce the EntityManager so I can inject it, produce a Log4J logger so I can inject it, have an exception interceptor for my JSF beans.... and so on.
What about having a set of utility commands that generate those sorts of classes ? Something like :
util-new-entitymanager-producer
util-new-logger-producer
....
Not sure "util" is the right term.... just brainstorming here
--
Antonio Goncalves
Software architect and Java Champion
Web site | Twitter | LinkedIn | Paris JUG | Devoxx France
_______________________________________________
forge-users mailing list
-
att1.html.zip 929 bytes
-
-
2. Re: [forge-users] And what about have "utility" commands ?
lincolnthree Nov 8, 2014 11:38 AM (in response to gastaldi)Yeah, these commands should probably be in their relative command
categories:
jpa-new-entitymanager-producer
java-new-loggerproducer
or something like that
On Sat, Nov 8, 2014 at 8:14 AM, George Gastaldi <ggastald@redhat.com> wrote:
That sounds like a good idea. +1
Em 08/11/2014, às 09:28, Antonio Goncalves <antonio.mailing@gmail.com>
escreveu:
Hi all,
In my projects I tend to repeat some utility code again and again. For
example, produce the EntityManager so I can inject it, produce a Log4J
logger so I can inject it, have an exception interceptor for my JSF
beans.... and so on.
What about having a set of utility commands that generate those sorts of
classes ? Something like :
util-new-entitymanager-producer
util-new-logger-producer
....
Not sure "util" is the right term.... just brainstorming here
>
--
Antonio Goncalves
Software architect and Java Champion
Web site <http://www.antoniogoncalves.org/> | Twitter
<http://twitter.com/agoncal> | LinkedIn
<http://www.linkedin.com/in/agoncal> | Paris JUG
<http://www.parisjug.org/> | Devoxx France <http://www.devoxx.fr/>
_______________________________________________
forge-users mailing list
https://lists.jboss.org/mailman/listinfo/forge-users
>
_______________________________________________
forge-users mailing list
https://lists.jboss.org/mailman/listinfo/forge-users
--
Lincoln Baxter, III
"Simpler is better."
-
att1.html.zip 1.1 KB
-