• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Spring MVC - Question

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any advice? I have a huge issue. I started this job and they hired me for Servlets / JSP's etc.... This new girl is hired a week after and insists we use Spring since that is all she knows. I don't know Spring and my boss knew this.
I had 2 weeks to study the Spring Framework (MVC) for 2 weeks going through tutorials (didn't have company laptop so I couldn't practice it) -(mine was incapacitated) in terms of installing or downloading new things... and starting yesterday I was assigned a task to develop a login / registration module. He asks me this morning if I am done with it and he was surprised I wasn't. I told him that Friday will be the latest because I haven't had a chance to practice it and that this task "IS" my practice. After this task I will be better and I told him that we both knew I was going to be slow with Spring at first. (OH Friday is too long...) Not sure what to say or think... You guys! What should I do? Can anyone help me.

I have STILL done more than the new girl here at work; she leaves early just about everyday, worked from home 2 days straight because her husband was home; sits on FB all day and talks on the phone when in office too. NOTHING is being said to her. What the heck is going on?
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is really a Jobs Discussion question. This forum is really for technical questions about Spring. I'm moving the thread
 
Jayesh A Lalwani
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Whenever someone pushes me to do stuff that I have no basis to estimate on, I either bore them on an hour long discussion of how 3 point estimation works, or I say "It'll be done when it;s done". Either answer won't satisfy the. It'll just make them go away and not come back again.
 
Jeremy McNally
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
lol yes... but it is my boss. I am really worried about my career. It is just a sudden switch to something too complex to learn in a week or 2 in terms of what I need to know. He understands I am brand new to it but doesn't get the fact that he is asking a very lot for me to snap to it and start knocking out tasks like its nothing at this point using Spring.

Any other advice? I could really use some ideas on how you or someone else may handle this situation. (without costing me the job) because it is the only thing keeping my son and I afloat.
 
Marshal
Posts: 5965
410
IntelliJ IDE Python TypeScript Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Doesn't sound like you managed to get much done since your discussion on the same topic last week.

Did you have any of the discussions I recommended with your boss and the new girl?

Was your boss aware that you had no means to actually practice using Spring during the 2 weeks you had?

If I were in your position I would be pestering the new girl to teach me how to use Spring to achieve my tasks, seeing as though she's the "expert". Perhaps even trying to get some pair programming going on with her. I really think you need to have a proper talk with your boss because the disparity between what he expects and actual reality is going to help nobody and get you very stressed in the process. Maybe suggest that you and the new girl work together initially to help get you up to speed with Spring, with the added bonus that it'll stop her wasting time on the phone or on social media. Who knows... you might even get on.
 
Jayesh A Lalwani
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried telling him that this is difficult for you? Sorry to make such an obvious point, but based on my experience with developers, developers are very reluctant to tell you when they are having trouble. A lot of devs will put up a mirage of competency before they give a shout of despair. Make sure your manager knows you are having trouble. There's something he will be able to do about it.
 
Ranch Hand
Posts: 262
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey, I don't know Spring MVC very well ( as of today that is ) and I'm not saying I know how to help you. But you haven't described the specifications of this login and registration functionality anywhere or have you? Sometimes posting specifications may help you better.

Do you know how to create a simple Spring MVC HelloWorld application? I mean have you downloaded the jar files, and added them to your classpath etc...

The answers to those questions may give a starting point to those who may be willing to help you.

Also if you start with it and if you're able to make some progress, your boss might give you some more time. You never know. Just keep giving him regular, and correct updates.
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Searching on Google for "spring mvc security tutorial" turns up 165,000 results starting with these:

http://docs.spring.io/spring-security/site/docs/3.2.x/guides/hellomvc.html
http://www.mkyong.com/spring-security/spring-security-hello-world-example/
http://www.beingjavaguys.com/2013/09/spring-security-example.html

Have you tried working through tutorials like these and seeing if you can adapt them to your requirements?

Spring MVC is widely used, Spring Security is widely used, and it makes sense that your project might decided to use this kind of thing instead of raw servlets and JSP. Why not embrace the opportunity to update your skills and just get stuck into it? And if your new colleague who recommended Spring MVC has time on her hands, why not ask her (or your manager) if she could run a quick hands-on tutorial for those of you who are new to Spring MVC?

I have STILL done more than the new girl here at work; she leaves early just about everyday, worked from home 2 days straight because her husband was home; sits on FB all day and talks on the phone when in office too. NOTHING is being said to her. What the heck is going on?


That's not really your concern - it's up to your manager to manage her time, not you. Bitching about colleagues will only create problems, especially as you are also new to the team. If her attitude causes problems for the project, and you are delivering your own work (right now you say you are having problems with the login functionality so you're in no position to criticise), maybe then you can raise the issue. Until then, I'd focus on doing your own job and making constructive suggestions, if I were you, rather than criticising your colleagues (however much you feel they may deserve it).
 
Jeremy McNally
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no impression at work that I feel that way about my colleague. It sucks but it is what it is. Honestly all I care about is getting this done and done right. Very frustrated.

My boss feels that bothering her about my task is unproductive. He understands I am new to it and haven't had practice with it other than reading and watching tutorials. He is still pretty dead set on my task and having it done by Friday.

As far as the code goes --> please see for yourself. Its below:

POM.XML




WEB.XML



BEANS.XML --> bean config file ---> Not sure what beans to even define?



registration.jsp --> This page is the only thing I have completed and completed right. My job isn't concerned with the looks, just the functionality of it.

 
Jeremy McNally
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone help me figure out what to do to complete the Registration Module based off these fields AND the Login Module? What comes next? What Beans should I make and define? What classes in the SpringFramework should I be using in my Controller class? Are my .XML files correct? Annotations I should be using? etc...

All of these questions will really help me get going.
 
Ranch Hand
Posts: 163
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have no answer for your situation, but I am surprised that a new hire has dictated that the programming architecture be switched over to Spring. What kind of pull does this girl have?

 
Jeremy McNally
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well her and my boss are the only two people in our organization from the same country. They have things in common like that. In terms of development, it was the way she pitched it and I didn't know enough about Spring to hold up in that conversation. Then she went on to add other frameworks to the project that I didn't know at the time which now I am familiar with since then.

Spring MVC is a huge pain. I am certainly taking this as an opportunity to add to my skill set to make me more valuable. I just can't afford to lose my job while doing it. My boss does not know Java or anything related to it framework wise and is under the impression that I should know this in full by now after the two weeks he gave me to learn it. I learned a lot but I couldn't practice it... The task he gave me IS my practice and I have till Friday to turn in this Registration/Login module and I am so Stuck!

Any help from anyone would be VERY appreciated.
 
Tim Cooke
Marshal
Posts: 5965
410
IntelliJ IDE Python TypeScript Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might also hope that your boss or your new coworker are not frequenters of this 'ere Ranch. I doubt that would help your case much either.
 
Jeremy McNally
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The bottom line here is that you say using the word girl in a sentence belittles a lady. Well some may differ but I appreciate the tip you gave. You are right about them viewing this thread but it is what it is. I posted this looking for advice. I am not 'belittling' anyone nor am I speaking out of place. I am concerned with how to deal with this specific issue. If you have more to say in terms of actual advice to handle this matter, than I would be happy to hear it but otherwise thanks for your previous help. I hope I can assist you one day or maybe vice versa once again.


 
Jeremy McNally
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In terms of what this topic is about to get back on subject once again, can anyone tell me whether my configuration files are correct or if I have anything wrongly placed?
 
author & internet detective
Posts: 42145
937
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
Jeremy,
Can I ask you to re-post just the technical part of this thread in our Spring forum? Just the code plus what you expect it to do.

This thread is really long and I don't think people (myself included) want to read through pages of background about your co-worker and English words to find out what the technical problem was. It's a good discussion; just separate from the "is my code right" part.
 
Jeremy McNally
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure Jeanne no problem. I will name the topic - Spring MVC registration/Login Problem
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic