What should be approach to understand a new project [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
If one joins a new project, how should that person approach it if
there is no documentation of the code and program is quite big to understand. Team members are also not that much informative.
Should the person debug the code line by line?But it can be highly time consuming and exhaustive.

There are several options:
Look for manuals. I have seen projects without specification and developer documentation, but had a manual.
Participate in a training, if offered by your company. This may take some time, e.g. the next training is in 2 months.
Run the code and see what it does.
get a tool like NDepend that visualizes the dependencies. By that, find the central modules or classes. Look at those first.
Ask your developer colleagues. If they don't want to tell you, tell them that you need some understanding in order to do your job
If all of the before does not help, ask your boss for help. He should have a plan to get you productive.
The users option would be great, but in all companies I worked for I did not have access to end users as well, since we always worked with partners as intermediate resellers. Contacting the partners is not a good idea, because it might leave a negative impression if you don't know the software.

Related

Need design guidance to develope java spring hibernate web application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to create java web based application using Spring-Hibernate. I know its not difficult to implement the functionality, but i need some help/guidance from the architecture perspective. Can any one suggest me the best design which will cover interfaces,design patterns etc.
Also need which version should i use of spring and hibernate.
The best way to start implementing a web application using the technologies you mentioned is to follow a tutorial from the large variety of tutorials you can find using google.
Another good option is to find a skeleton for an application that someone has created and shared in a source code sharing service like github or bitbucket (check the licenses also). You can check-out the code and have an initial working example you can work on and expand.
If something does not work during these attempts, then please come back here, search if your question is already asked by someone else, and if not place your question with specific code snippets and error messages you may get.
If everything works well and you need advices on different ways to improve performance, your architecture and the software patterns, then come back here also with a specific question, or in some cases you will find codereview more suitable for this kind of questions.
Good luck!

Java: SQL and Statistics/Machine Learning [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a question for you concerning Java. I am basically a Java user and did most of my work with it. However, in the machine learning classes I took in college, we used mostly python with the scikit-learn and numpy packages.
Now I want to do a project where I crawl data from the web, store it in SQL databases, and then do machine learning on this data. Maybe some of you have experience with those things and share some of it? I mean, of course it is possible to do these things with java, but maybe you have had some particular experiences on why I should use something else or what to consider?
I am happy for all your thoughts :-)
Have a great weekend!
It turns out that programming language and database implementation are secondary problems. Think first about the machine learning you want to do. Review the existing packages (in any language) and pick one according to how well it fits the needs of the business problem you are trying to solve. Then work with whatever language is most convenient for that package. You will probably find that no single language is suitable for all parts of the problem; you will end up gluing together Java, Python, R, shell scripts, etc, to make a complete solution, and there's nothing wrong with that. Consider that your job is problem solving instead of programming in a specific language and go from there.

need to deploy web app on server [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to write a web app from scratch with a date picker that allows user to select date and then queries the database according to thee input provided by the user and displays results. This will be deployed on the companies web servers(they have various apps on a server). However, i have no idea where to start as i have never written a web app before. Also i will need a local test and prod environment set up. Where should i start, what all needs to be included in my classpath. How do i install build tools and configure them?Eventually more people will work on enhancing the app but i first need to get it set up and deployed on prod. This will be written in java.
Cant comment due to low reputation, so i have to post my suggestion as an answer.
As JonK posted, this site is about specific code problems, but i'd suggest you looking into a few things, that might help you with your task.
Choosing from a various possibilities, is a tricky thing, and if i ware you, i would ask at your work with is more common there, so help with problems in development would be near ;)
Spring framework is quite popular and you will find plenty tutorials for it
JSF is a interesting one, and if you will choose this one, at SO, you can look into answers provided by user BalusC. As some one said to me, if Balus has written about something, then it is as he said ;)
Struts is not something that I've tied yet, but it is a choice.
And plenty more, most of them has been mentioned here
But as i said, ask at your work place, what they are using.

Understanding the code process of Ccleaner [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How does a Register cleaner tool works if you would analyze the code ?
I'm not asking for specific code here...I'm just wondering the code for a tool like Ccleaner for instance is working, roughly explained.
The reason why I ask this is because I want to create an class diagram about the Ccleaner tool.
But ofcourse for Ccleaner specificly you would need the source code..and we all know no normal has acces to the source code of ccleaner
But if anyone know's any registery and pc cleaner tool is getting to it to clean up the mess on your computer and how it's cleaning up your registery...it would help me big time to create an class diagram.
Thanx
It depends much on how you design your application (because this looks like a design exercise more than anything).
First I would recommend you to list down your requirements. Saying "like ccleaner" is just way too broad. Just come up with a list of functionality you need your system to achieve and try to break down such list into smaller responsibilities. Also come up with a list of candidate objects and try to distribute your responsibilities in between those objects, after that you can start thinking in your structure and how to organize them (composition, association, inheritance relationships). Good objects are not anemic (0 responsibily) nor godly (a tons of stuff to do)
That roughly is a way to do it. There is no perfect design nor "a single class diagram" that might answer this question.

How to prove the security for a class file in war with out effecting the functionality? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
We wanted to provide the security for the class file in the war file, beuase if you share the war file to customer he can open and see our code by using some de-compiler available in the market. So i want to restrict that, how can i encrypt that class or any some other way to avoid that lap. And that new war(After enabling the security), it should be executed by the web/application server.
Kindly help me.
Honestly though, what makes you think the client will care enough to use man hours to start going through decompiled code?
They buy a licence from you to use your product, they get support from you, they're happy. They're probably not going to be interested in going through the WAR. Your product may seem extra special to you, but trust me, it's not to other people.

Categories