Java Resources for a C# Developer

Status
Not open for further replies.
First, some background. I was introduced to Java before C# during my college days (around 2004-2005), but since graduating, have not done any Java development. Instead, I've been almost completely in the .NET stack, with minor forays into C++, Perl, PHP, and the usual web work with JS. I also have some experience with Python, for reference, but only for minor tasks outside my job.

My day job for the last two years has been as a consultant on an ASP.NET web forms app with some MVC 4 functionality recently added.

In the remainder of this post, beware the enterprise-yness and remember that I am not a decision-maker here, just an interested party...

Word has come from on high that it would be desirable to rewrite the app in Java so it could be part of the company's [SUPER_COOL] platform that most of their other software offerings run on. This has not been decided yet, but it is a strong possibility, damn the costs and other negatives. My client manager has intimated that I would possibly be kept on as a subject matter expert to work on the Java port despite my lack of Java experience.

At this point, I have not been told about what frameworks, OS, tools, IDEs etc are used as part of [SUPER_COOL] platform, so my question to all of you is directed more towards generic Java: what books, online tutorials, etc would you suggest for an ASP.NET developer about to (potentially) work on a Java port of an ASP.NET application? Should I not even bother with any of that and just plan on jumping in head first? I know enough to know that--at a surface level at least--Java and C# are fairly similar.

TL;DR: what books or other formal resources would you suggest--if any--for a ASP.NET developer possibly working on a Java project?
 
[url=http:/civis/viewtopic.php?p=27467399#p27467399:1aedvo2j said:
Vince-RA[/url]":1aedvo2j]I asked a similar question (although I do have some historical background in Java) and the best recommendation I got was Effective Java. Overall, a really great book imo.

Yeah. That book is fantastic.


As a Java guy who does C#, just assume that everything is the same as in C#, but just a little bit crapper when in Java. ;)
 
[url=http:/civis/viewtopic.php?p=27467399#p27467399:2spa2asb said:
Vince-RA[/url]":2spa2asb]I asked a similar question (although I do have some historical background in Java) and the best recommendation I got was Effective Java. Overall, a really great book imo.

Thanks, but that book is six years old! I'm assuming this would get categorized as a canonical Java book and the age doesn't really matter? Given the enterprise-y nature of this project, this rewrite probably wouldn't be on the bleeding edge of Java, but I'd like to think that Java 8 would be used...
 
[url=http:/civis/viewtopic.php?p=27470521#p27470521:34ij1hby said:
ledbutter[/url]":34ij1hby]
[url=http:/civis/viewtopic.php?p=27467399#p27467399:34ij1hby said:
Vince-RA[/url]":34ij1hby]I asked a similar question (although I do have some historical background in Java) and the best recommendation I got was Effective Java. Overall, a really great book imo.

Thanks, but that book is six years old! I'm assuming this would get categorized as a canonical Java book and the age doesn't really matter? Given the enterprise-y nature of this project, this rewrite probably wouldn't be on the bleeding edge of Java, but I'd like to think that Java 8 would be used...

A few things have changed (Java 8 did away with permgen, for example), but it is still quite relevant.
 
[url=http:/civis/viewtopic.php?p=27475075#p27475075:2m09s9q9 said:
ShuggyCoUk[/url]":2m09s9q9]Idiomatic Java isn't much like idiomatic C# since lambdas/Linq until Java 8.

That might be more different for web stuff though.

I'd see if, given it's a rewrite to the java stack, whether they would be okay with scala. It should integrate well with much, maybe all, existing stuff, but have much less boiler plate and faff.

I was going to mention Scala (especially with Blacken back around), but didn't want to distract from the main point. Given the enterprise-y nature of this company, I'd think they'd be hesitant to use a different language, but I'd certainly be very interested in trying Scala.
 
Status
Not open for further replies.