Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 10 of 10

Thread: common tasks in java

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face common tasks in java

    I want to start as junior in Java in a company but they ask me to present them some tasks that ensures that i am more than a junior.they offer me a task to create a Swing Gui with buttons and stuff.I have already a good knowledge of Java from University and some projects.
    But on the way to create the logic and after a button stayed stacked i have learn about SwingWorker (because i have to do a task that runs in back) it was very interesting.
    So my questions is so that i can present them some kinds of task i would like to ask you people.
    What are the most common tasks that you do in work in coding.Example build a table and fill it with data and enable the right click (i have already done something like that they want more). What do you think that it would be good for me to present them and also that i learn something more for the future and so that i get the job.
    Please just write only ideas or if you have working Experience what kind of tasks to do.Swing,Spring, JSP ,struts it doesn't matter all i will try and learn them them and i want the job.
    All ideas suggestions are welcome.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,166
    My Mood
    Hungover
    Thanks
    141
    Thanked 597 Times in 512 Posts

    Default Re: common tasks in java

    I am not really sure what you're asking here. What you'll be doing as a common task really depends on your job- a backend developer will be doing different things than a frontend developer, who will be doing different things than a web developer, algorithms person, etc. It completely depends on the job, so it's pretty difficult to answer this question.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Oct 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: common tasks in java

    Quote Originally Posted by KevinWorkman View Post
    I am not really sure what you're asking here. What you'll be doing as a common task really depends on your job- a backend developer will be doing different things than a frontend developer, who will be doing different things than a web developer, algorithms person, etc. It completely depends on the job, so it's pretty difficult to answer this question.
    Both of them i have no problem you can say to me back end common tasks and also front end common tasks.I would appreciate that.

  4. #4
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: common tasks in java

    What kind of job is it? I can tell you very little of my coding I would consider to be "common" and I suspect that most other developers would agree.

    I suppose the "base" common would be general purpose algorithms like sorting, searching, and your basic abstract data structures but then again many people don't implement these that much. Instead, they just use what's already available to solve whatever their task is.

  5. #5
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 262 Times in 231 Posts

    Default Re: common tasks in java

    Quote Originally Posted by helloworld922 View Post
    What kind of job is it? I can tell you very little of my coding I would consider to be "common" and I suspect that most other developers would agree.
    Agreed. I don't hold down a desk job clicking keys for some company. Every job I encounter is unique in it's own respect. Sure there are similar things, and a hint of my personal style among the lot. Not to mention some of those "common" things have found a home in my personal development libraries, either for a quick include/import or copy-paste.

  6. #6
    Junior Member
    Join Date
    Oct 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: common tasks in java

    Java developer J2EE and swing (they also like that i have knowledge of Hibernate and other stuff) it is important for me because i don't have any experience and they need to be sure about me.So if some can say some of common every day tasks would be great.

  7. #7
    Junior Member
    Join Date
    Oct 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: common tasks in java

    Quote Originally Posted by jps View Post
    Agreed. I don't hold down a desk job clicking keys for some company. Every job I encounter is unique in it's own respect. Sure there are similar things, and a hint of my personal style among the lot. Not to mention some of those "common" things have found a home in my personal development libraries, either for a quick include/import or copy-paste.
    Can you give some examples ?

  8. #8
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 262 Times in 231 Posts

    Default Re: common tasks in java

    Quote Originally Posted by gorgoro View Post
    Quote Originally Posted by jps View Post
    Agreed. I don't hold down a desk job clicking keys for some company. Every job I encounter is unique in it's own respect. Sure there are similar things, and a hint of my personal style among the lot. Not to mention some of those "common" things have found a home in my personal development libraries, either for a quick include/import or copy-paste.
    Can you give some examples ?


    unique in it's own respect
    I think that speaks for itself. Here is a good place for the thinking cap. As a software engineer it is your job to limit this trait of your projects to the specific requirements for the specific project and keep as much of the code as reusable as you can. (Good candidates for your library)



    there are similar things
    Most of the work involves some form of (g)ui, and manages a set of data. The more general you start to think, the more it seems like all problems are basically the same with some specifics. The bigger the picture gets the more they seem like the same thing over again. One will find very different jobs to have many exact methods repeated among the jobs. One lovely result of thinking ahead using general terms. ie, don't think of a way to make a key-lime pie. Instead think of a way to make a pie crust suitable for many pie types, and how to make pie filling in a general way that does not limit your code to a sour pie. (to introduce my pastry-chef analogy)



    a hint of my personal style among the lot
    After some time on the keys you will see some personal traits that not all coders have. You can look through stacks of code and after some time start picking out code by the same person. You see patterns in their problem solving (or creating!!) skills and start to see what they were thinking as the code come to be. A lovely perk of a forum, you get to see so many ways to think of the problems, and many times different views on the same problem (thank you school assignments).


    some of those "common" things have found a home in my personal development libraries
    My personal library has it's own Easy Bake Oven built right in. I don't just make pies of any flavor, I also make cakes and cookies. One can be surprised what they find themselves reusing and keeping over time. (...and sometimes deleting after some more education haha, learning and mistakes are part of the journey for everyone.) Consider a department store who manages shoes, socks, gloves, and hats. There may be reusable code among the shoes, socks, and gloves that apply to "pairs-including-a-left-and-right-each" that would not apply to gloves. Keeping that code generalized makes it reusable when your future job hands you a contract for a jewelry store with studded earrings, looped earrings, charm earrings, and just plain rings.

    I make many apps for android. A large portion of my library includes basic frameworks for different things. A game engine for a single activity game.(tic-tac-toe, sudoku, dots) Another for multiple activities.(zombie shooter, *defense) They are similar but each implement things in a manner dependant on the number of activities. Depending on the project, one type or the other can provide shortcuts otherwise unavailable. Many bare frameworks actually. Code which implements things the way that is comfortable to the way I think in terms of code. Ask 20 people for a solution to a problem in code, get many answers, some the same, others not. My personal "salt" added to the base java makes code I can easily read, understand, and use.



    either for a quick include/import
    Sometimes you just want the whole cake to yourself..



    copy-paste
    Sometimes a snack on that little method, perhaps an additional parameter this time around for some specifics in the project or some other change, but this one method is all you will actually use. To import it from your library just to override it with some random specific... Just save the time to retype it and copy paste modify

  9. #9
    Junior Member
    Join Date
    Oct 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: common tasks in java

    Quote Originally Posted by jps View Post
    I think that speaks for itself. Here is a good place for the thinking cap. As a software engineer it is your job to limit this trait of your projects to the specific requirements for the specific project and keep as much of the code as reusable as you can. (Good candidates for your library)



    Most of the work involves some form of (g)ui, and manages a set of data. The more general you start to think, the more it seems like all problems are basically the same with some specifics. The bigger the picture gets the more they seem like the same thing over again. One will find very different jobs to have many exact methods repeated among the jobs. One lovely result of thinking ahead using general terms. ie, don't think of a way to make a key-lime pie. Instead think of a way to make a pie crust suitable for many pie types, and how to make pie filling in a general way that does not limit your code to a sour pie. (to introduce my pastry-chef analogy)



    After some time on the keys you will see some personal traits that not all coders have. You can look through stacks of code and after some time start picking out code by the same person. You see patterns in their problem solving (or creating!!) skills and start to see what they were thinking as the code come to be. A lovely perk of a forum, you get to see so many ways to think of the problems, and many times different views on the same problem (thank you school assignments).


    My personal library has it's own Easy Bake Oven built right in. I don't just make pies of any flavor, I also make cakes and cookies. One can be surprised what they find themselves reusing and keeping over time. (...and sometimes deleting after some more education haha, learning and mistakes are part of the journey for everyone.) Consider a department store who manages shoes, socks, gloves, and hats. There may be reusable code among the shoes, socks, and gloves that apply to "pairs-including-a-left-and-right-each" that would not apply to gloves. Keeping that code generalized makes it reusable when your future job hands you a contract for a jewelry store with studded earrings, looped earrings, charm earrings, and just plain rings.

    I make many apps for android. A large portion of my library includes basic frameworks for different things. A game engine for a single activity game.(tic-tac-toe, sudoku, dots) Another for multiple activities.(zombie shooter, *defense) They are similar but each implement things in a manner dependant on the number of activities. Depending on the project, one type or the other can provide shortcuts otherwise unavailable. Many bare frameworks actually. Code which implements things the way that is comfortable to the way I think in terms of code. Ask 20 people for a solution to a problem in code, get many answers, some the same, others not. My personal "salt" added to the base java makes code I can easily read, understand, and use.



    Sometimes you just want the whole cake to yourself..



    Sometimes a snack on that little method, perhaps an additional parameter this time around for some specifics in the project or some other change, but this one method is all you will actually use. To import it from your library just to override it with some random specific... Just save the time to retype it and copy paste modify

    Thanks you very much for your reply

  10. #10
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 262 Times in 231 Posts

    Default Re: common tasks in java

    You are welcome

Similar Threads

  1. Common Java Mistakes
    By helloworld922 in forum Java Programming Tutorials
    Replies: 14
    Last Post: March 24th, 2013, 04:13 AM
  2. android button tasks
    By bdtuhin007 in forum Android Development
    Replies: 0
    Last Post: January 30th, 2012, 08:39 PM
  3. Re: Common Java Mistakes
    By Kixi in forum The Cafe
    Replies: 1
    Last Post: December 16th, 2011, 11:52 PM
  4. Common Java Mistakes
    By helloworld922 in forum Java Code Snippets and Tutorials
    Replies: 13
    Last Post: March 8th, 2011, 12:33 AM