in Search
ATTENTION: I've decided to put the upgrade on hold due to a compatibility issue of our server environment with the latest CS installer package. CS 2008 now requires SQL Server 2005 as the backend DB but our database server currenlty has SQL Server 2000 installed on it. I'll resume the upgrade once I figure out when Telligent is releasing a patch to the schema compatibility issue. For now, we will continue to use the old version of CS while waiting for the said patch. If you have any questions about this process, please don't hesitate to post them on our forums and I'll answer them as soon as I can. Thanks for your patience and support guys! I'll let you know as soon as this is resolved. - Keith Rull
Latest post 04-14-2008 12:42 AM by kirino. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-13-2008 8:10 PM

    • kirino
    • Top 500 Contributor
    • Joined on 04-14-2008
    • Posts 3
    • Points 60

    Java Framework Help! (What to use?)

    (Sigh) What should we use? 

    These are the only possible choices for our department.

    JSF, Tapestry, Spring, Struts.

    Every team uses (or will soon use) JAX-WS and Hibernate.

    In my team we (or me only Big Smile) uses JSF/RichFaces and JAX-WS, other team uses Tapestry and Maven. 

    JBoss Seam? Anyone? I'm thinking about it. (Seam and RichFaces) 

    I'm willing to unlearn (or at least the other teams), just help us see the light.

    And yes, it must (at least) support different containers (Websphere AS, Tomcat, GlassFish and JBoss)

    Don't forget the IDE. (Eclipse, WAS, Netbeans) 

    How about industry standards? I mean, the mostly "used" stuff. Does it matters? 

    Filed under:
    • Post Points: 20
  • 04-13-2008 10:43 PM In reply to

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 752
    • Points 13,110

    Re: Java Framework Help! (What to use?)

    For me

    • Many old applications are built on Struts and will be maintained using struts
    • Many Servlet/JSP applications are being converted to Struts (1.2 or 2)
    • Many applications will be built using Struts 1.2 and Struts 2
    • Struts works well in Tomcat and Websphere. I haven't tried in other containers.


    I  dunno if it's just me, but as I mature in the industry I tend to rely more on my design skills and improve on that rather than learning every new technology that comes.

     If I were to choose my technologies though maybe I would go for...

     Struts, JSF and JPA (I haven't used hibernate in real-world application so, that's why). It doesn't matter if I use Netbeans or Eclipse. I've used both and one doesn't seem differ much over the other. There are even more advanced features in netbeans that I haven't seen in Eclipse. JAX-WS is a piece of cake in Netbeans too! :)

     

    In my current team we use

     RAD7(This is also eclipse), Struts, and EJB

     If your team is inexperienced in all the technologies that you mentione(JSF, Tapestry, Spring, Struts), I would recommend to just use Struts. There are a lot of info available over the internet and the javaranch forums would never cease to help you in times of need.

     

    Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 5
  • 04-13-2008 11:29 PM In reply to

    • kirino
    • Top 500 Contributor
    • Joined on 04-14-2008
    • Posts 3
    • Points 60

    Re: Java Framework Help! (What to use?)

     How about communication between systems? Our team sometimes retrieve data from

    good'ol legacy systems (Natural/Cobol) or sometimes just through web service. Other than using IBM HATS, can Struts handle these scenarios? 

    I'm having a hard time making RichFaces work on WAS. Must I give this one up?

     

    So many things, so little time.... 

     

    Why did your team took Struts? What are the reasons? Is Struts the first framework used by your team? Any personal insights would do. 

    And yes, JAX-WS in Netbeans is somewhat very, very easy, but we don't have that much time. Also, so that we could just focus on system designs and implementing user requirements rather than hacking the framework and making discoveries. I haven't tried RAD7.

    Web Service thru Netbeans:

    1. Our wrists are happy (iwas carpal tunnel).
    2. More time sa aming love life, at sa iba pa.

    Big Smile

     

    Tnx man. I will give a solemn and divine 1 hour of my time (every night, kahit magtampo pa si gf. hehehe) in learning Struts. 

    • Post Points: 35
  • 04-14-2008 12:02 AM In reply to

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 752
    • Points 13,110

    Re: Java Framework Help! (What to use?)

    kirino:

     How about communication between systems? Our team sometimes retrieve data from

    good'ol legacy systems (Natural/Cobol) or sometimes just through web service. Other than using IBM HATS, can Struts handle these scenarios? 

    I'm having a hard time making RichFaces work on WAS. Must I give this one up

     

     

    Haven't use WS in a while but let me give it a shot. This is how I think I would do it if I ever did it again.

     

    You can provide an extra layer of abstraction between your Struts Action class and your Webservice lookup by using the Service Locator design pattern and Business Delegate pattern. Normally, this is used to lookup EJB components but same pattern can be applied in WS(I think).

    WSLocator{ 

        WSStub doLookup("String wsEndPoint"){ 

           //do WS lookup stuff here 

        } 

     

    EmployeeService

       List<EmployeeDTO> searchByName(String name){       

           //From here, it doesn't matter if your data came from a database or Webservice, let's try taking it from a WS though 

          WSStub wsStub = new WSLocator().lookup("http://www.myws.com/someservice.aspx?wsdl");

          Document d = wsStub.searchByName(name);

         //create a List, do parsing here , return List

       }
     

    }     

     

    And call this in your Action class 

    EmployeeService empService  = new EmployeeService();

    List<EmployeeDTO> empService.searchByName("Lam"); //returns all that has an occurence of Lam in the String

    //forward in JSP, iterate in List to display

     

    Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 5
  • 04-14-2008 12:19 AM In reply to

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 752
    • Points 13,110

    Re: Java Framework Help! (What to use?)

    kirino:
    Why did your team took Struts? What are the reasons? Is Struts the first framework used by your team? Any personal insights would do. 
     

    Uhhmmm... We didn't have a choice? Lolz! No, actually Struts is the only framework that most of us are used with. Yes, struts is the first framework used by my team. I'm the youngest, but  even the most experienced only had exposure with Struts. So we have no other choice but to use the tool that we are most familiar with, I think it's a pretty good decision on our part.

     

    kirino:
    And yes, JAX-WS in Netbeans is somewhat very, very easy, but we don't have that much time. Also, so that we could just focus on system designs and implementing user requirements rather than hacking the framework and making discoveries

    I myself hate to do stuff like that but if you'd allow me to say, hacking, is part of every programmer's life. It's a lesson I've learned over the years. Remember that a brute force solution that works is better than an elegant solution that doesn't work. :)

     

    Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 20
  • 04-14-2008 12:42 AM In reply to

    • kirino
    • Top 500 Contributor
    • Joined on 04-14-2008
    • Posts 3
    • Points 60

    Re: Java Framework Help! (What to use?)

    lamia:

    I myself hate to do stuff like that but if you'd allow me to say, hacking, is part of every programmer's life. It's a lesson I've learned over the years. Remember that a brute force solution that works is better than an elegant solution that doesn't work. :)

     

    Yep man, true. So much to learn...

     OK now, tnx for the help. 

    Back to work.

     

     

     

    Look busy, the boss is coming.... Cool 

    • Post Points: 5
Page 1 of 1 (6 items)