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.
Related
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.
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!
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Ok, it does not need to be something 100% secure. Something simple, that will cut 80% of people from using my demo library past 30 days and contact me.
The only thing I can think of is making my code save a file somewhere, with the date that the library started and after 30 days just exit displaying a message to contact for the full version. Of course, if the user finds out where this file is, all he has to do is delete it, so it would be nice if it could be in some kind of not so easy to find place (desktop or home directory would be silly I suppose).
Of course if he decompiles the code, he can easily turn that off, but again, I want some protection, even 50%, not 100%.
Target operating system is probably linux/unix, but I can also discover dynamically to make it work in any.
You don't mention the target operating system, so it is a little bit hard to answer the question. If your target is Windows, I would store the first start time in the Registry. Maybe this can help you.
I think your file strategy looks perfectly fine.
If you want to strengthen your scheme, you will have to contact a central service of some sort where you can detect if the same server tries to restart your evaluation time multiple times. The central server could i.e. sign a token with an expiry date that the library needs to run.
On the other hand, the more complicated this kind of schemes is, the more likely they are to fail at times and create problems for your legitimate users. You should consider this against the (probably very low) volume of users that would actively sabotage a more simple scheme.
PS: remember that in some environments multiple copies of different applications that uses your library may have to run simultaneously.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I am currently working on a project that involves the use of EEG signals on an android mobile phone.
I am deciding if I should make my own signal processing library for android or not because I can't seem to find any online.
Does anybody know of a library that I can use or would it be easier and faster to make my own?
Thanks
I'm working on a similar project. I am using the NeuroSky MindSet EEG headset and Processing IDE with the Ketai library. I could not get the NeuroSky Android API to work with either of my Android 2.3.4 or 4.0.1 phones. When digging into why it didn't work, I got lost in their API's library and decided it would probably just be easier to read the data myself. I modified the Ketai bluetooth program to read in the raw data, but did it in sort of a haphazard way (no checksum was performed). It's quite a rough hack, but I got the data to draw on the screen and have not worked on it for a couple of weeks. After I comment the code some more, I could put my code up on github - it'd be nice to get some collaboration.
By the way, if you did not intend for this to be for the Processing IDE of processing.org, you're quite lucky. As Arcymag pointed out, the keyword "processing" might trigger a response from people like myself who receive emails for processing.org. In any case, the Processing IDE has an Android mode that allows you to program Android under its IDE. If you want to develop your program in say, the Eclipse IDE, you can export your project and take all of the power of Processing with you as a library. After exporting, your code will be full Java. There are only some minor differences between Java "proper" and how Processing presents Java anyhow (some aesthetic changes). I prefer to work with the power of Processing because I am not actually a "proper" programmer, as my background is in physics, and Processing makes programming a joy. (There are several questions regarding the differences between Java proper and Processing on stackoverflow.)
This is my first post on stackoverflow. I have been looking for a way to give back since this site has saved me countless hours on this project alone. If you feel I deserve an upvote, you'd make one noob very happy. I can do things such as: post more than two hyperlinks and upvote answers.
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 would like to solve all my problems with domain
place where I can store all my git repositories
place where I can deploy my Java, (python, php) applications
place where I have my jabber, mail, silc on my own domain
I don't have enough technical knowledge to run my own server, I would like to use somebody else solution but as cheap as possible. Is there cloud solution with these capabilities? Is there a trustful, cheap server provider? Or do you use many solutions like - gmail, github, aws/gae, etc?
Finding everything you need in one place is fairly unlikely. I typically use Google Apps for email and docs (they also support jabber), then use other services like GitHub for Git hosting where needed. Deployment varies by project, but usually includes AppEngine, Heroku, SliceHost, or EC2.
I'd advise that you get familiar with a few services and try them out. If your experience is anything like mine, you will settle on services you like (and can afford).