• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

Trying to get a strong start on J2EE

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,


I have spent the last two days installing new software and turning up a little less than 50% of the web application attempts per successfull run getting started on Struts. I tried running a web container with a hand typed web.xml and struts.xml and could not get it to work because I had a slightly different version of software of Struts 2. In other words on my struts xml we were redirecting using the wildcard /* and putting all requests through a filter but the package class to that filter was slightly different and it simply did not work when putting the java.main. in front of the rest of the package address. I am wanting to learn some back end J2EE stuff either Hibernate or Struts ( preferably Struts) where the beginning phase of getting your feet wet pick up your feet and set them down to show you how to get started. Could some one please recommend a good video tutorial or Link with consideration to to Either the Kepler Eclipse or NetBeans 8.0 will be used for application deployment so I can display more than a welcome page using a Struts app. please and thank you.
 
Sheriff
Posts: 67560
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Ridener wrote:I am wanting to learn some back end J2EE stuff either Hibernate or Struts ( preferably Struts)


Neither of Hibernate or Struts are part of JEE (hasn't been called J2EE in years).

What is it you are actually trying to accomplish? Bone up on frameworks used in industry? If so, then I'd say that Hibernate is likely a good choice, while Struts not so much. (They aren't competing, by the way. Hibernate is an ORM frameworks used with, not in place of, web frameworks.)

So what're your goals? Knowing that, we would be in a better position to offer advice.
 
Joe Ridener
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My goals here are to accomplish a strong introductory/working knowledge of the Struts framework possibly Hibernate ( and yes I know they are not competing technolgies.

See the problem is:

Just downloaded about 2 gigs of software of Struts. Each and every time I restarted I was only able to go so far before I encountered a problem that a newbie simply could not fix. Due to differing versions of software things such as snippets of code would work in the example but would not work with me. Totally have a clue as to why it would not work but could not fix it. SPent hours spinning my wheels in one place and not moving very far. Do not have a working knowledge of Struts.


Need a good tutorial with consideration that I am totally new and only have a good idea what the struts tld's xml's and Struts specific functionality entails. Can just barely NOT use an action class. Want a good tutorial that like I said picks up my feet and sets them down to get me started walking with Struts or Hibernate.

 
Bear Bibeault
Sheriff
Posts: 67560
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You didn't answer my question, really.

"Learning Struts" isn't a goal; it's a means to a goal.

Why do you want to learn, specifically, Struts -- a framework that's going nowhere? What goal do you think learning Struts would accomplish?
 
Joe Ridener
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let me give you an example of what I am saying here:


Learning JSP's and Servlets

In order for these types of apps to run I had to pick up Java Core Servlets and ServerPages Vol. 1 it has a chapter dedicated to running a web container from your desktop.

One way to teach this is to set environment vars. , depending on which editor your using you can use the build path by right clicking on the web app that you are working on this may or may not work depending on how its taught...

But if you go to just the right tutorial getting the right frameworks running then going to you webapps directory of Tomcat creating a directory that you will use the url and showing you exactly what to type in the web.xml file of the WEB-INF and tah dah you have your index page showing up in the browser after restarting your server it can even have a JSP file extension with JSP functionality and I know what I am doing and its actually a little more complicated than most people would teach. But its exactly how it happened when I started with JSP and Servlets a couple years ago. ANd can now hand type web apps from the ground up with notepad++ and probably compete with people whom have been doing it for a few years or longer by practicing everyday.

Want the same things just with more advanced frameworks.. need a good tutorial. Do you know of one?
 
Joe Ridener
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to learn frameworks that pertain to technologies that are being hired for at higher starting rates and to take my web programming to the next level. It extends on my existing knowledge of web programming in Java mainly not because I am trying to replace the web.xml functionality with better interaction between classes and the incoming request line that Struts offers
 
Bear Bibeault
Sheriff
Posts: 67560
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Ridener wrote:I want to learn frameworks that pertain to technologies that are being hired for at higher starting rates and to take my web programming to the next level.



OK, that's actually what I was after. In this case, I'd say that Struts is a really really poor choice. It's long in the tooth and hasn't been considered at the forefront for a long long time. It's hardly something that anyone would consider "next level".

If you want to maximize your hiring potential with respect to Java web frameworks, then I'd recommend Spring MVC head and shoulders over Struts.

But, if you want to maximize your hiring potential as a web developer, then I'd say skip the Java web frameworks and learn how to create RESTful APIS (with Java certainly) and focus on learning HTML5, CSS3 and the latest JavaScript MVC frameworks (Backbone, AnglualrJS, etc). That's where the demand (and money) is.

 
author & internet detective
Posts: 40685
827
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Ridener wrote:I want to learn frameworks that pertain to technologies that are being hired for at higher starting rates and to take my web programming to the next level.


Interestingly these goals do not always align. Sometimes there are "legacy" technologies that have higher starting rates, but not a great future ahead of them. Struts might fall into that category. It may pay higher, but not offer you the future of web programming.
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic