Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39137 > unrolled thread
| Started by | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| First post | 2019-09-10 05:26 -0700 |
| Last post | 2019-09-30 10:43 +0100 |
| Articles | 11 — 5 participants |
Back to article view | Back to comp.lang.java.programmer
Good way to learn Spring? Eric Douglas <e.d.programmer@gmail.com> - 2019-09-10 05:26 -0700
Re: Good way to learn Spring? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-09-10 14:55 +0200
Re: Good way to learn Spring? Eric Douglas <e.d.programmer@gmail.com> - 2019-09-10 06:33 -0700
Re: Good way to learn Spring? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-09-10 18:06 +0200
Re: Good way to learn Spring? Chris Riesbeck <Chris.Riesbeck@gmail.com> - 2019-09-10 12:20 -0500
Re: Good way to learn Spring? Eric Douglas <e.d.programmer@gmail.com> - 2019-09-10 11:03 -0700
Re: Good way to learn Spring? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-09-10 20:19 +0200
Re: Good way to learn Spring? Chris Riesbeck <Chris.Riesbeck@gmail.com> - 2019-09-11 17:04 -0500
Re: Good way to learn Spring? Graeme Geldenhuys <graemeg@example.net> - 2019-09-30 10:36 +0100
Re: Good way to learn Spring? Arne Vajhøj <arne@vajhoej.dk> - 2019-09-10 19:03 -0400
Re: Good way to learn Spring? Graeme Geldenhuys <graemeg@example.net> - 2019-09-30 10:43 +0100
| From | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| Date | 2019-09-10 05:26 -0700 |
| Subject | Good way to learn Spring? |
| Message-ID | <c7f8368e-3e20-45dc-83a1-cb55e5311763@googlegroups.com> |
I tried googling it, found a couple different tutorials, can't get any sample programs I've found to compile.
[toc] | [next] | [standalone]
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
|---|---|
| Date | 2019-09-10 14:55 +0200 |
| Message-ID | <ql86fe$r2c$1@dont-email.me> |
| In reply to | #39137 |
On 2019-09-10 14:26, Eric Douglas wrote:
> I tried googling it, found a couple different tutorials, can't get any sample programs I've found to compile.
>
Assuming you mean the core Spring Framework ('cause "Spring" is a lot of
things these days, especially in the southern hemisphere), have a
thorough look at:
<https://spring.io/projects/spring-framework#learn>
<https://docs.spring.io/spring/docs/5.1.9.RELEASE/spring-framework-reference/>
Or get a book on the subject.
--
DF.
[toc] | [prev] | [next] | [standalone]
| From | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| Date | 2019-09-10 06:33 -0700 |
| Message-ID | <fdda21cd-4a9c-45f6-bad4-676e1f10f580@googlegroups.com> |
| In reply to | #39138 |
On Tuesday, September 10, 2019 at 8:55:19 AM UTC-4, Daniele Futtorovic wrote:
> Assuming you mean the core Spring Framework ('cause "Spring" is a lot of
> things these days, especially in the southern hemisphere), have a
> thorough look at:
> <https://spring.io/projects/spring-framework#learn>
> <https://docs.spring.io/spring/docs/5.1.9.RELEASE/spring-framework-reference/>
>
> Or get a book on the subject.
>
> --
> DF.
The Spring apparently found at spring.io which is referenced in job ads with terms such as "enterprise Spring MVC", sometimes listed out such as "Spring Boot, Spring Batch, Spring Integration, Spring Cloud, Spring Security, Spring JDBC".
I can certainly read the documentation but I don't think I'll really learn it unless I can make a sample program and run it. I've tried downloading samples and can't get anything to compile.
[toc] | [prev] | [next] | [standalone]
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
|---|---|
| Date | 2019-09-10 18:06 +0200 |
| Message-ID | <ql8hli$u26$1@dont-email.me> |
| In reply to | #39139 |
On 2019-09-10 15:33, Eric Douglas wrote: > The Spring apparently found at spring.io which is referenced in job ads with terms such as "enterprise Spring MVC", sometimes listed out such as "Spring Boot, Spring Batch, Spring Integration, Spring Cloud, Spring Security, Spring JDBC". Yes, "Spring" is /all those things/. > I can certainly read the documentation but I don't think I'll really learn it unless I can make a sample program and run it. I've tried downloading samples and can't get anything to compile. That's because it's a framework, not a library. There's a lot more to it than just code (well, so to speak). I personally do not believe that you will get far with your understanding of "Spring" without a solid a solid understanding of its IoC, beans, etc. core. But YMMV. If you're looking for something that you can execute quickly, you should focus on Spring Boot, which is specifically intended for that. You should be able to generate a project archetype using the resources from the Spring Boot section on spring.io. Mind you, you will likely very much need a proper IDE -- i.e. with Spring integration, which thankfully the big ones (IntelliJ, Eclipse) have -- to make sense of all that shit. There's a lot to it. -- DF.
[toc] | [prev] | [next] | [standalone]
| From | Chris Riesbeck <Chris.Riesbeck@gmail.com> |
|---|---|
| Date | 2019-09-10 12:20 -0500 |
| Message-ID | <ql8lvv$15rg$1@gioia.aioe.org> |
| In reply to | #39140 |
On 9/10/2019 11:06 AM, Daniele Futtorovic wrote: > On 2019-09-10 15:33, Eric Douglas wrote: >> > I personally do not believe that you will get far with your > understanding of "Spring" without a solid a solid understanding of its > IoC, beans, etc. core. But YMMV. > > If you're looking for something that you can execute quickly, you should > focus on Spring Boot, which is specifically intended for that. > > You should be able to generate a project archetype using the resources > from the Spring Boot section on spring.io. With Spring Boot, I think you can be pretty productive pretty quickly, even as a beginner. But solid understanding will take quite a while. But then how many beginning to mid-level programmers understand how the JVM and compiler work? For learning boot, see the many guides with examples for building, say, a simple RESTful API with web frontend. > > Mind you, you will likely very much need a proper IDE -- i.e. with > Spring integration, which thankfully the big ones (IntelliJ, Eclipse) > have -- to make sense of all that shit. There's a lot to it. > IntelliJ is probably the simplest to set up. The free Community Edition supports Spring Boot pretty well.
[toc] | [prev] | [next] | [standalone]
| From | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| Date | 2019-09-10 11:03 -0700 |
| Message-ID | <e4fa0125-3b59-4913-8f18-d62c5e8dcdfa@googlegroups.com> |
| In reply to | #39141 |
On Tuesday, September 10, 2019 at 1:20:09 PM UTC-4, Chris Riesbeck wrote: > > I personally do not believe that you will get far with your > > understanding of "Spring" without a solid a solid understanding of its > > IoC, beans, etc. core. But YMMV. > > > > If you're looking for something that you can execute quickly, you should > > focus on Spring Boot, which is specifically intended for that. > > > > You should be able to generate a project archetype using the resources > > from the Spring Boot section on spring.io. > > With Spring Boot, I think you can be pretty productive pretty quickly, > even as a beginner. But solid understanding will take quite a while. But > then how many beginning to mid-level programmers understand how the JVM > and compiler work? > > For learning boot, see the many guides with examples for building, say, > a simple RESTful API with web frontend. > > > > Mind you, you will likely very much need a proper IDE -- i.e. with > > Spring integration, which thankfully the big ones (IntelliJ, Eclipse) > > have -- to make sense of all that shit. There's a lot to it. > > > > IntelliJ is probably the simplest to set up. The free Community Edition > supports Spring Boot pretty well. I think I have a pretty good understanding of the JVM and compiler. I taught myself Java, spent more than a decade writing my own API. I normally use Eclipse. I just normally right click a project and select Export as jar, so I don't know a lot about build tools like maven or gradle. I think at least one Spring tutorial mentioned a maven setup, so not sure if a build tool is a requirement. I tried one tutorial setup which said to download jars and create a library, and another that said to install Spring Tools from the Eclipse Marketplace, not sure which one(s) I should need from there: - Spring Tools 3 (Standalone Edition) 3.9.9.RELEASE - Spring Tools 3 Add-On for Spring Tools 4 3.9.10-CI - Spring Tools 4 - for Spring Boot (aka Spring Tool Suite 4) 4.3.2.RELEASE Not sure which of these mentioned previously can be learned with simple test samples, or if there's more I should need to know -Spring Boot -Spring Batch -Spring Integration -Spring Cloud -Spring Security -Spring JDBC Setting up some simple web service sounds like a good start.
[toc] | [prev] | [next] | [standalone]
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
|---|---|
| Date | 2019-09-10 20:19 +0200 |
| Message-ID | <ql8pga$eol$1@dont-email.me> |
| In reply to | #39142 |
On 2019-09-10 20:03, Eric Douglas wrote: > <snip /> > I normally use Eclipse. I just normally right click a project and select Export as jar, so I don't know a lot about build tools like maven or gradle. I think at least one Spring tutorial mentioned a maven setup, so not sure if a build tool is a requirement. You will *definitely* want to use either Maven or Gradle for this. -- DF.
[toc] | [prev] | [next] | [standalone]
| From | Chris Riesbeck <Chris.Riesbeck@gmail.com> |
|---|---|
| Date | 2019-09-11 17:04 -0500 |
| Message-ID | <qlbr21$1cjs$1@gioia.aioe.org> |
| In reply to | #39143 |
On 9/10/2019 1:19 PM, Daniele Futtorovic wrote: > On 2019-09-10 20:03, Eric Douglas wrote: >> <snip /> >> I normally use Eclipse. I just normally right click a project and select Export as jar, so I don't know a lot about build tools like maven or gradle. I think at least one Spring tutorial mentioned a maven setup, so not sure if a build tool is a requirement. > > You will *definitely* want to use either Maven or Gradle for this. > Yes! IDEA (and I assume Eclipse) know how to import Maven and Gradle projects. I like the brevity of Gradle myself. The various Spring Boot guides give the Maven and Gradle files you need, and Spring IO (the Spring Boot project generator) can create either kind for you, to get you started.
[toc] | [prev] | [next] | [standalone]
| From | Graeme Geldenhuys <graemeg@example.net> |
|---|---|
| Date | 2019-09-30 10:36 +0100 |
| Message-ID | <qmsibk$1vun$1@gioia.aioe.org> |
| In reply to | #39141 |
On 10/09/2019 6:20 pm, Chris Riesbeck wrote: > IntelliJ is probably the simplest to set up. The free Community Edition > supports Spring Boot pretty well. I use both IntelliJ and Eclipse with Spring based code - both have excellent support for Spring. G.
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2019-09-10 19:03 -0400 |
| Message-ID | <ql9a4h$20g$1@gioia.aioe.org> |
| In reply to | #39139 |
On 9/10/2019 9:33 AM, Eric Douglas wrote:
> On Tuesday, September 10, 2019 at 8:55:19 AM UTC-4, Daniele Futtorovic wrote:
>> Assuming you mean the core Spring Framework ('cause "Spring" is a lot of
>> things these days, especially in the southern hemisphere), have a
>> thorough look at:
>> <https://spring.io/projects/spring-framework#learn>
>> <https://docs.spring.io/spring/docs/5.1.9.RELEASE/spring-framework-reference/>
>>
>> Or get a book on the subject.
> The Spring apparently found at spring.io which is referenced in job
> ads with terms such as "enterprise Spring MVC", sometimes listed out
> such as "Spring Boot, Spring Batch, Spring Integration, Spring Cloud,
> Spring Security, Spring JDBC".
> I can certainly read the documentation but I don't think I'll really
> learn it unless I can make a sample program and run it. I've tried
> downloading samples and can't get anything to compile.
First you need to find out which Spring projects you need.
You could start like:
1) Spring Core
This is a DI framework.
So you:
* read a little about DI as concept
* read a little about Spring DI
* write a small Java SE application that use Spring DI
2A) Spring MVC for web application
Spring MVC can be used as MVC web framework similar to Struts and other.
So you:
* read a little about Java web applications
* read a little about Tomcat
* read a little about Spring MVC for web applications
* you write a small Java web app using Spring MVC and deploy on Tomcat
2B) Spring MVC for web service
Spring MVC can also be used as web service framework.
So you:
* read a little about RESTFul web services
* read a little about Spring MVC for web services
* you write a small Java web service using Spring MVC and deploy on Tomcat
* you write a Java SE client program
3) Spring Boot
Spring Boot is a framework for creating micro-services (a Java SE
application with embedded Tomcat pr Jetty to run web service).
* read a little about micro-services
* read a little about Spring Boot
* convert the web service from 2B to Spring Boot
Arne
[toc] | [prev] | [next] | [standalone]
| From | Graeme Geldenhuys <graemeg@example.net> |
|---|---|
| Date | 2019-09-30 10:43 +0100 |
| Message-ID | <qmsioj$2vl$1@gioia.aioe.org> |
| In reply to | #39139 |
On 10/09/2019 2:33 pm, Eric Douglas wrote: > I can certainly read the documentation but I don't think I'll really > learn it unless I can make a sample program and run it. I've tried > downloading samples and can't get anything to compile. Strange, I found the tutorials pretty easy to follow - then again, thene are thousands of courses regarding Spring, and I'm sure they are not all equal. But if you want a step-by-step guide and some background information to give better context, I would highly recommend the "Spring in 28 Minutes" course available on Udemy/Youtube. Contrary to the name, it takes longer than 28 minutes. ;-) The "... in 28 minutes" is just the name of a series of courses by that author. Note: I'm not affiliated with the author of that course or Udemy in any way. I'm simply a very happy customer of using that course myself a couple months back. It is really good, easy to follow, and the instructor seems very knowledgeable in that area. You can also very easily find discount codes for the course to make them even cheaper than what they already are. Regards, Graeme
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web