Seasar conference 2015 sa-compojure

  • View
    3.056

  • Download
    2

  • Category

    Software

Preview:

Citation preview

SAStruts− Struts1

─────────────sa-compojure

kawsima

わたしとSAStruts

わたしとStruts1

http://qiita.com/kawasima/items/670d2591bc8fea19dc1d

ちなみにCommons BeanUtils1.9.2で

この問題対応してもらってます

http://qiita.com/kawasima/items/404baa98984e7d7ca951

Struts1がEOSLだからなんとかしてくれ

ウチのシステムはSAStruts

というので作られているんだろう?

2014年以降 SIerによく来る話

SAStrutsをStruts1に依存せずに動かす

これならOKらしい

Action,ActionFormPOJOだからいけそうだ

No org.apache.struts

JSP…taglib...

taglibは残そう…

tagから色々依存しているので、結局削れない…

のせかえ先はふつうに考えれば

Clojureになる

sa-compojure

https://github.com/kawasima/sa-compojure

sa-compojure

Struts1/SAStrutsのエンジン部分をRing/Compojure

に置き換え

ついでにServletとも決別● JSPはJasperをライブラリ的に呼ぶ。● Servlet APIのクラスはSeasarのMockを使って受け渡し。

さぁsa-struts-tutorialを動かしてみよう!

struts1に依存せず、

SAStrutsのアプリコードを全く書き換えず

動いてしまうではありませんか!!!taglib以外

まとめ

Recommended