Tim Holloway wrote:I have been using Spring Framework with JavaServer Faces successfully for years. It integrates very nicely, thanks to a bridge that allows Spring Objects to be seen like they're JSF objects. My primary use for Spring has been with Spring Data/JPA where I use Spring to interact with Hibernate JPA or Apache OpenJPA. However, I've used other components such as Spring's scheduler, email interface and many more.
I think just about any web framework that does backend processing can benefit from Spring. And of course, non-web applications as well. For example, I've written off-line database utilities that use Spring JPA. Spring JPA automatically handles a lot of grunt work that brute-force JPA would require you to (correctly!) code over and over again. I think that I've even used Spring to help handle ReST services, although it's been long enough that I forget details. And I've used Spring Data's Neo4J for a node-based DBMS project.
I also think that there may be an iBatis implementation of Spring JPA or at least Spring Data. I've never worked with iBatis, although I did work with JDO before JPA became the ORM standard. And my impression is that iBatis is both JPA-like and has Spring support. But check their docs before believing me
Matthew Keller wrote:Q: What view technology can be used with the Spring framework besides JSP?
A: JSP if you want to return HTML. Jackon for REST JSON (restful services). There are also libraries for XML, but I am unfamiliar with them.
Q: Does the Spring framework allow the use of making calls to stored procedures through MyBatis?
A: You can use raw JDBC or use the connection pool of your container (example JNDI) to call stored procs. They are just database calls. I have no experience with MyBatis. I do recommend avoiding Hibernate because it abstracts database transactions in what in my opinion is a bad way. If you like to bring your database down because of unreleased connections use Hibernate, ha ha.
Q: Which servers can Spring applications be deployed on? Can they be deployed on Resin or WebSphere?
Any J2EE container. WebSphere and Weblogic would be overkill because you don't need EJB's if you have Spring. Tomcat and derivatives like Jboss are good. I really like Tomcat. It's solid and simple. If you don't need anything more then that is my choice. My favorite fully stacked J2EE container is Weblogic. WebSphere is the worst J2EE container I have dealt with, especially since it doesn't support autodeploy by simple class file update in an expanded jar. Websphere is supposedly integrated with Irad, but they both seem to be really unstable when used together for development.
Claude Moore wrote:1.Spring is essentially a backend technology, so you can design your UI using the framework you prefer. Most of times, you will expose some REST aoi to a modern web frontend.
2.Yes, you can use mybatis with spring, provided that you are running a supported configuration (spring 5, mybatys 2, JDK 8).Have a look at Mybatis web site for further details.
3.Yes, you can deploy a Spring project in a Websphere ( or other appserver) instance, but it's not a solution I have personally seen many times. More often I've seen spring deployed in a lightweight web container like tomcat (with spring) , or very often as standalone application with an embedded tomcat instance (spring boot).
Giovanni Montano wrote:
Fred Victa wrote:I have been a Java developer for over eleven years and I work for a consulting firm that sends its employees to work for different clients. The length of time that an employee is contracted with a client varies considerably. My contract with one client ended and I'm looking for a new client. If I cannot find work as a developer, what do you think about getting a business analyst role or a position in QA? I wouldn't mind working in those roles if I could not find a developer position. What would clients think of those who switch to a business analyst or QA role from a development role and then back again to a development role?
I would like to ask three questions
1) Do you know scala and kotlin? Do you work always with the same frameworks? Do you like coding or you are bored because you do not learn new things?
2) A java developer with 11 years of experience can find a job, expecially with your CV, can I ask you where do you live and what is the reason you are afraid to not find another job?
3)If you like analysis become a Machine Learning Engineer, you can cover a lot of new topics, did you think about, or do you want something different than coding?