1. #1
    Ext User
    Join Date
    Sep 2010
    Posts
    5
    Vote Rating
    0
    poleapple is on a distinguished road

      0  

    Default regarding spring vs seam for Extjs + JBoss

    regarding spring vs seam for Extjs + JBoss


    I am working on a web application that uses ExtJS for the front end and EJB for middle tier. The server used is JBoss and the database is MySQL. Now, to link the front end to the middle tier, I am trying to figure out whether seam or spring is better suited for ExtJS and JBoss.
    I have read a lot about seam comparisons with spring, but there isn't much material regarding seam/spring comparisons in regards to ExtJS, so I was wondering if you guys could help me out some?
    I am new to such development, so it is quite difficult for me to sort the comparisons and fit it to ExtJS myself.
    Thanks!

    On a different note, I was also wondering if you guys knew anything about using JDBC driver versus EJB for the same project?

    Much appreciated!

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    EJBs?

    I'd use Hibernate to persist business objects.

  3. #3
    Ext User
    Join Date
    Sep 2010
    Posts
    5
    Vote Rating
    0
    poleapple is on a distinguished road

      0  

    Default


    Why's that?
    Aren't they very related... I recall having read something about that.
    Anything you can explain on regarding seam vs. seam for ExtJS though?
    Thanks!

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    83
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    I don't use Seam (I only read the introduction page). It seems to use JSF for GUI stuff, which I don't like. JSF still assumes a page flow, which Web2.0 applications don't have.

    Web2.0 applications (like the more common Ext applications) only exchange data with the server. Spring's AbstractCommandController and JsonView are really easy to use for this purpose.

    But, as I already noted, I don't know Seam, so it could contain someting similar as Spring.

  5. #5
    Ext User
    Join Date
    Sep 2010
    Posts
    5
    Vote Rating
    0
    poleapple is on a distinguished road

      0  

    Default


    For seam, this is how I linked it to my entity bean.

    var seamComponent = Seam.Component.getInstance('seamComponentName');
    var proxy = new Ext.ux.data.SeamRemotingProxy({
    remoteMethod: seamComponent.loadJson,
    seamComponent: seamComponent
    });

    var reader = new Ext.ux.data.SeamRemotingJsonReader({id: 'id', root:'data'}, [
    ...

    now if I have defined public void getSearchList () {...},
    then I just need to use seamComponent.getSearchList() to use it.

Similar Threads

  1. ExtJs with Spring Framework
    By jimmy.honeycutt in forum Community Discussion
    Replies: 23
    Last Post: 19 Feb 2013, 5:20 AM
  2. Integration of ExtJS with Spring FrameWork
    By apachetomcat in forum Ext 2.x: Help & Discussion
    Replies: 21
    Last Post: 7 Sep 2010, 9:58 PM
  3. Spring-js and ExtJS integration
    By jbeaven in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 3 Sep 2010, 9:37 AM
  4. spring integration with ExtJs
    By eclipse3.4ide in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 2 Sep 2010, 10:17 AM
  5. YUI-EXT + JBoss Seam Remoting questions
    By alfiewong in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 24 Feb 2007, 4:47 AM

Thread Participants: 2