Grails is Spring – Key Message.

자바와의 호환(같은 class로 컴파일)등이 장점. 당연히 Spring 2.5의 최신기능을 다 사용할 수 있다.

Plugin을 활용한 확장기능 – ex) Flex

G2One이 스프링소스에 인수되었기 때문에 이제 Groovy,Grails의 적용에 대해서 기업이 스프링소스의 지원을 받을 수 있다. 

2005년 여름 시작, 2008년 초 1.0 릴리즈. 70,000 downloads/mth. 최근 일년간 크게 인기 상승. 프로덕션 사이트에서 사용할 만큼 안정이 되었다는 뜻.

Grails의 철학

  • 이미 있는 성공한 기술을 적극 활용
  • CoC
  • Sensible Defaults

Grails는 SpringMVC의 고레벨의 추상화된 모델. 또한 Spring/Hibernate의 추상화. 스프링의 설정을 자동으로 생성&관리. 어떤 WAS에도 설치 가능.


SpringMVC/Grailsㅇ dispatch sequence는 똑같다. Grails View Resolver, Grails Controller…

Spring의 ViewResolver, View, DispatcherServlet, i18n, Multipart… 등을 그대로 사용.


GORM – Hibernate스타일의 ORM. – Grails Console을 이용해서 간단히 테스트 해볼 수 있다. (RoR Console과 비슷)

Dyamic Finder. Criteria. Cache. Lock Strategy 등 지원. – 거의 Hibernate의 기능을 최대한 활용하는 듯.


GSP(View)를 사용할 때 groovy로 만든 간단한 custom tag를 쉽게 적용할 수 있다.


Plugins – conventions, register bean def 등의 다양한 기능을 추가해서 사용할 수 있다. GrailsApp과 ApplicationContext 양쪽에 적용가능. 플러긴을 이용해서 런타임 중에 스프링의 특정 부분에 대한 설정을 추가할 수 있다.


데모 Twitter 만들기

Acegi plugin을 설치하면 기본 인증과 관련된 코드가 자동생성된다. Principal Info를 Acegi를 통해서 간단히 가져아서 사용 가능(PrincipalInfo.username). Domain Model에 constraint를 같이 설정할 수 있다. RoR비슷. <g:formRemote .. > – Ajax Form 기능을 간단히 만들 수 있다.

Searchable plugin을 설치하면 검색-목록 스타일의 기능을 간단히 만들 수 있다. 초간단.

스프링의 어떤 설정이라도 추가할 수 있다. (ex. Cache bean 등록후 GORM find metod에서 사용하기)

ActiveMQ plugin을 이용해서 JMS – Message Driven POJO 개발도 가능(JmsTemplate을 바로 사용가능). 스프링에서 되는 것중 안되는 것이 없다. 오호.

REST style의 publishing 기능. (withFormat { .. html, xml, rss …}) – feed plugin 이용해서 rss등의 포맷지원.

Quartz plugin – Job개발을 간단하게.

Mail plugin – def mailService라고 추가만 하면 바로 메일 전송기능 바로 이용가능.



Grails is not just a web framework, Grails is  a platform!

왠만한 유명한 것은 plugin으로 다 되어있다.

  • Test : seleium, fitnesse, code coverage.
  • UI : Flex, GWT, GrailsUI(YahooUI)
  • Security: SpringSecureity, JSecurity, OPenID.
  • 기타 등등


Grails 1.1 – maven support, testing framework의 내장, Scaffolding, Better plugins & GORM. 현재 베타.

Groovy&Grails – 12권의 책이 벌써 나와있다.


데모와 다양한 플러그인을 보니 매우 인상적이다. 이전에 스프링을 단지 백그라운드에 사용했다고 느꼈던 것과 달리, 스프링과 거의 자연스럽게 융합되어있는 듯한 인상이다. 스프링 개발자라면 손 쉽게 기능을 활용할 수 있다는 것이 제일 큰 장점이다. 모든 복잡한 로우레벨의 프레임워크를 직접 구현하지 않고, 이용한 것이 성공의 비결이다. 스프링소스의 본격적인 지원에 힘입어서 조만간 큰 인기를 끌 수도 있지 않을까 기대가 된다. JVM과 그 위에서 동작하는 안정적인 엔터프라이즈 프레임워크의 신뢰도 덕분에 도입이 많아질 수도 있을 듯.

RoR로 개발되어서 성능으로 최근 고전하고 있다는 Twitter가 만약 Grails로 되어있다면 어쟀을까 궁금해진다.

Related posts:

  1. Grails is Spring
  2. S1A 2008 셋째날 정리
  3. S1A 2008 둘째날 SpringSecurity 2.5
  4. SpringOneAmerica 2008 첫날
  5. S1A 2008 넷째날 정리
  6. S1A 2008 셋째날 – Spring JavaConfig
  7. SpringOneAmerica 2008 그리고 SpringSource Webinar
  8. S1A 2008 사진모음
  9. S1A 2008 둘째날 정리
  10. SpringOne 2008 (1) – OSGi
  11. 유쾌한 이슈처리 재촉 메일
  12. Ruby on Maven
  13. 뷰와 뷰(View), 뷰 이름, JSP뷰 (템플릿)
  14. Maven 의존관계 수렁에 빠지다

Facebook comments:

to “S1A 2008 둘째날 – Grails”

  1. please check out the sites we adhere to, like this one, because it represents our picks from the web

  2. An outstanding share! I’ve just forwarded this onto a coworker who had been doing a little research on this. And he actually bought me breakfast because I discovered it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanks for spending time to discuss this topic here on your web page.

  3. below youll obtain the link to some sites that we think it is best to visit

  4. just beneath, are a lot of totally not associated internet sites to ours, even so, they’re surely worth going over

  5. just beneath, are various totally not connected web-sites to ours, however, they’re surely really worth going over

  6. below you will obtain the link to some web pages that we believe you’ll want to visit

  7. one of our guests just lately encouraged the following website

  8. Cual Es La Mejor Viagra – Buy Cialis Cephalexin Stability cialis online Viaga Suppliers

  9. When Would Amoxicillin Not Be Effective – Buy Cialis Buy Generic Viagra 100 Mg cheapest cialis 20mg Kamagra Billig Ohne Rezept

  10. Every the moment in a although we choose blogs that we read. Listed below are the most recent internet sites that we decide on

  11. below youll uncover the link to some internet sites that we think you need to visit

  12. just beneath, are a lot of completely not related websites to ours, nonetheless, they may be surely really worth going over

  13. My partner and I stumbled over here different page and thought I should check things out.I like what I see so now i aam following you.Look forward to going over your web page yet again.

  14. here are some links to web-sites that we link to simply because we feel they’re worth visiting

  15. we came across a cool site that you simply may possibly get pleasure from. Take a search should you want

  16. below youll obtain the link to some websites that we think you must visit

  17. always a significant fan of linking to bloggers that I enjoy but do not get a good deal of link enjoy from

  18. Wonderful story, reckoned we could combine a number of unrelated information, nevertheless genuinely worth taking a search, whoa did a single learn about Mid East has got more problerms as well

  19. very few internet sites that occur to become comprehensive below, from our point of view are undoubtedly nicely worth checking out

  20. I added a new list. As you’ll see it’s bigger than most of them. I hope you all have had a great week!

  21. Every as soon as inside a though we decide on blogs that we study. Listed below are the most recent web pages that we pick out

  22. Sites of interest we have a link to

  23. 5대골절진단비

  24. below you will find the link to some web pages that we feel you should visit

  25. I simply desired to appreciate you again. I’m not certain the things I would’ve taken care of in the absence of the thoughts shared by you over that field. It was before a very depressing condition in my opinion, nevertheless noticing a well-written style you solved it forced me to weep over happiness. I am happier for this information and as well , trust you find out what an amazing job you were accomplishing educating people today thru your site. Most probably you haven’t met all of us.

  26. although sites we backlink to below are considerably not connected to ours, we feel they are basically really worth a go by means of, so possess a look

  27. discount levitra prices

  28. below youll uncover the link to some websites that we believe you’ll want to visit

  29. that may be the end of this post. Here you will discover some web pages that we feel youll value, just click the hyperlinks over

  30. usually posts some really fascinating stuff like this. If youre new to this site

  31. Sites of interest we have a link to

  32. Hello there. I discovered your website by way of Google even as looking for a related topic, your web site came up. It seems great. I have bookmarked it in my google bookmarks to visit then.

  33. here are some hyperlinks to web sites that we link to mainly because we assume they may be really worth visiting

  34. Hello.This article was really motivating, especially since I was searching for thoughts on this subject last week.

  35. Keep up the fantastic work, I read few posts on this website and I believe that your website is real interesting and has sets of fantastic information.

  36. although web sites we backlink to beneath are considerably not associated to ours, we really feel they’re in fact really worth a go through, so possess a look

  37. very few internet websites that occur to be in depth below, from our point of view are undoubtedly well worth checking out

  38. very couple of internet sites that happen to become in depth below, from our point of view are undoubtedly effectively worth checking out

  39. we like to honor several other internet web-sites around the net, even if they arent linked to us, by linking to them. Under are some webpages worth checking out

  40. Really enjoyed this blog article.Really thank you! Keep writing.

  41. always a large fan of linking to bloggers that I like but really don’t get a good deal of link enjoy from

  42. Hello! I know this is kind of off topic but I was wondering if you knew where I could
    get a captcha plugin for my comment form? I’m using
    the same blog platform as yours and I’m having problems finding one?
    Thanks a lot!

  43. Wow, superb blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is excellent, as well as the content!

  44. Appreciate this post. Let me try it out.|

Leave a Reply to Chemistry Tutor Mumbai Cancel reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2017 Toby's Epril Suffusion theme by Sayontan Sinha