Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java Beans, do they still use them?

 
william chaple
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are java web applications still in demand in todays world? Java Beans as controllers ect.

httpserverletrequest request...ect
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you kidding? That's where the vast majority of Java jobs are.

As for "beans as controllers", no. That's a pattern that died out at the turn of the millennium. Java beans themselves are still very central to Java web applications, just not misused as controllers.
 
J. Kevin Robbins
Bartender
Pie
Posts: 1801
28
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless you are talking about the similarly named but completely different Enterprise Java Beans (EJBs), in which case the answer is, not so much anymore. They've been largely supplanted by Spring and JPA which are generally easier to use and don't require an EJB container like Websphere.
 
German Gonzalez-Morris
Ranch Hand
Posts: 266
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the question is only mentioning java-beans and clearly generates confusion... perhaps POJOs and EJBs was a better vocabulary to narrow down the question's context.

Anyway, about Spring/JPA and EJBs, I think we can discuss about it for long... JPA replaced Entity EJB, however Session EJBs are still here and are easier to use since EJB 3.0... now with 3.1 there are more features.
I think they are necessary for different contexts,perhaps there are some blur context that could be replaced them.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
German Gonzalez-Morris wrote:perhaps POJOs and EJBs was a better vocabulary to narrow down the question's context.

Not really. POJO != Java bean

Anyway, about Spring/JPA and EJBs, I think we can discuss about it for long...

Any further discussion of the relevance of EJBs should be taken to a new topic in the EE forum. (Unless the OP chimes in saying that EJBs were what he was asking about in the first place; in which case the whole topic will get moved.)
 
German Gonzalez-Morris
Ranch Hand
Posts: 266
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you referring to dto ?
 
william chaple
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok it lost me lol. I didnt know there were so many different formats. I am still a college student, so I am trying to grasp a field in web development to stick to. Professor said it is good to learn java, Perl, PHP, java script.

Just trying to figure out what languages are going to be used the most in the future. Ive decided to stick to web application development, but dont know what languages to learn, stick to since everything is constantly changing
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I would say that JavaScript is a must, for server side languages you can check pros and cons of the languages you mentioned.
About the future I don't think it is worth caring about it at this moment, I guess if you learn Java you are not going to be working with it all your life, the important point is to get the concepts.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alberto is very correct. You're not going to create a career out of one language or technology.
 
william chaple
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Albareto McKenzie wrote:Well, I would say that JavaScript is a must, for server side languages you can check pros and cons of the languages you mentioned.
About the future I don't think it is worth caring about it at this moment, I guess if you learn Java you are not going to be working with it all your life, the important point is to get the concepts.


Awesome guys thanks. Yeah makes sense. Once I grasp the concepts, I am sure I'll move onto that. What do you guys recommend I should learn for a college web app student then? Or practice my concepts on?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're going to be working on the web, HTML, CSS and JavaScript for the front-end is a given. And there's a world of stuff to learn just there. (Anyone who tells you that HTML is easy doesn't know much about HTML.)

When it comes to the back-end, there are any number of choices. I'd recommend staying away from platform-prioprietary technologies (aka .Net) and focus on those that are multi-platform. That could be PHP, Ruby/Rails, or Java. Pick your poison.

If you want to learn Java, then the choice is obvious. If you want to get something off the ground quickly, PHP has a lower barrier to entry. If you want to land a job, either (or both) is a good choice.
 
william chaple
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:If you're going to be working on the web, HTML, CSS and JavaScript for the front-end is a given. And there's a world of stuff to learn just there. (Anyone who tells you that HTML is easy doesn't know much about HTML.)

When it comes to the back-end, there are any number of choices. I'd recommend staying away from platform-prioprietary technologies (aka .Net) and focus on those that are multi-platform. That could be PHP, Ruby/Rails, or Java. Pick your poison.

If you want to learn Java, then the choice is obvious. If you want to get something off the ground quickly, PHP has a lower barrier to entry. If you want to land a job, either (or both) is a good choice.


i was reading asp vs php and exactly what you mentioned! I played around with PHP. Thank you so much for your advice and all the other questions you've answered from me!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic