greptilian logo

IRC log for #friendlyjava, 2015-10-06

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
17:16 AstroMacGuffin joined ##friendlyjava
19:11 bluezone joined ##friendlyjava
19:12 bluezone Nice
19:12 bluezone Wish we could get more people in here
19:12 bluezone #java is too toxic for my thin skin :(
19:21 pdurbin more than usual in here
19:22 pdurbin bluezone: do you have a question or comment?
19:22 bluezone pdurbin: not really, just surprised that this exists :P I'll stick around and try to help if I can
19:48 pdurbin bluezone: maybe you can read http://irclog.greptilian.com/friendlyjava/2015-09-30 and give pulsar some opinions on web frameworks
20:37 aditsu bluezone: welcome
20:42 pulsar pdurbin: looks like the gig wont be about a public facing application but more about narrow selection of customers
20:42 pulsar so the nature will be more administrative
20:43 pdurbin line of business app
20:43 pulsar point is, i do not need to care about gracefull gegradation of the frontend.
20:43 pulsar degradation even
20:43 pulsar settling with spring + angular
20:43 pulsar spring-hateoas - for sure
20:43 pulsar spring-data - maybe
20:43 pulsar spring-security - most likely
20:44 pdurbin maybe I should try spring some day
20:45 pulsar spring is a whole ecosystem
20:46 bluezone joined ##friendlyjava
20:46 searchbot joined ##friendlyjava
20:46 usandfriends joined ##friendlyjava
20:46 pulsar and if your requirements match one of more spring projects - makes sense to stay somewhat "framework-consistent"
20:47 pulsar on the negative side: lots of annotation driven magic, reflection based assumptions and deep dynamix proxies going on
20:49 pdurbin lots of XML for config of Spring, I hear
20:49 pulsar not anymore
20:49 pulsar this is the "classic" way to set up a spring application
20:50 pulsar today you can fire up a whole spring application just with annotated classes
20:50 pulsar since servlet 3.x you wont need to touch web.xml either
20:50 pulsar (or use spring-boot)
20:51 pulsar still not sure if setting up the dependency injection contex via annotations is good or not.
20:51 pulsar having a xm file wiring up your components also serves as a semi-documentation
20:52 pulsar scattering that information all over the code makes it very hard to trace back / picutre the dependencies
20:52 pulsar on the other hand, most ides provide a great spring support including graphing these dependencies
20:53 pulsar typing... not easy today.
20:58 pdurbin good to hear that annotated classes are enough
21:34 sfisque pulsar that is not 100% true.  even in spring boot there are some things that require wiring up from xml, but it is minimal
21:35 pulsar sfisque: what exactly?
21:35 sfisque one sec
21:35 pulsar i have just set up a rest service using spring with 0 xml files, perhaps some advanced stuff has to be configured via xml
21:37 sfisque a rest endpoint is a toy
21:37 pulsar yeah, it is. but thtats why i ask ;)
21:37 sfisque <bean class="org.springframework.orm.jpa.support​.PersistenceAnnotationBeanPostProcessor"/>
21:37 sfisque
21:37 sfisque <context:annotation-config />
21:37 sfisque <context:component-scan base-package="xxxxxxxxx" />
21:37 sfisque <context:mbean-export/>
21:38 pulsar so jpa support you say?
21:38 sfisque i had to put that in our applicationContext.xml file because there wasnt a way to boot strap those setting trivially in code
21:38 pulsar aye
21:38 pulsar "trivially" - i give you that.
21:38 sfisque yes, real jpa support, not the crap that spring walks around as jpa
21:38 sfisque @Repository  != JPA
21:39 sfisque spring needs to drop the proprietary crap or just die already
21:39 pulsar what was the culprit? exposing mbeans?
21:39 sfisque that was part of it, also using standard jpa
21:40 pulsar as in persistence context + jpa "api"?
21:40 sfisque yes
21:48 pulsar anyway. xml or not. still (after years of using spring) undecided how i feel about some of the conventions
21:49 pulsar like chaning the way the application behaves just by putting an instance of a specific object into the context
22:58 pdurbin heh. "or just die" already

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode