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 7 years ago.
Improve this question
As Java is an open source: if we have developed good classes which may help anybody.. Can we add them to standard Java library? If yes: how?
File a JSR.
Most useful classes are maintained and distributed via libraries and not included in the JDK/JRE. The apache commons libraries are a very good example: extremely useful but not part of Java.
If your question is of theoretical nature - JSR's are the way to add something to Java. If your question is practical (iaw, you have something you'd like to contribute), I'd practically say: forget about it, put everything in a library and host it on sourceforge (or something else).
Just for interest's sake: MigLayout is considered by many to be a very useful LayoutManager, and its creators and a lot of its users are lobbying to get it adopted into the standard library. They hope to get it into Java 7. We'll see how that goes.
There are quite a few mailing lists associated with ongoing Java/JDK development. These would be the best places to start for suggesting new classes and utilities to add to the JDK.
Submit patches to the OpenJDK project, via the mailing lists mentioned by jsight and then to make it official go the JSR route mentioned by Ignacio, ideally with some community support.
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 4 years ago.
Improve this question
so here I got an open-source Android app which I must analyze and identify the structure of, things like its libraries, high-level architecture, configuration management, and testing facilities.
Now I understand where and how to look for the last two, but I still rather confused on how can I identify the libraries and architecture.
So what I'm asking is, how do I identify the architecture of an app and the libraries it uses? where do I look for it? what part of the source code? are there any tips to do this?
If there is any other info that I should provide, please do tell me.
Edit1: this is what I meant by high-level architecture, using Firefox as an example, but it doesn't have to be this technical, something more simple is also okay >>>
There are 1000s (maybe even millions) of questions on stack-overflow regarding Android development. The android documentation is itself highly exhaustive. And a simple query like "add library android project" can lead someone to answers like this.
What I am really trying to say is, a lot is already there. You just need to use it.
As for the original question :
Libraries
The dependencies can be found here. These are the external libraries that are used by this app.
-
Architecture
About that, you will mostly have to go through the code. Using Android-studio for that can be really helpful. You can use tools like this, but mostly, you will have to go through the code and understand it.
Furthermore, since its opensource project, there should be good documentation about it.
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 2 years ago.
Improve this question
I'm actually using OpenCV for face detection, but after watching this video : https://www.youtube.com/watch?v=LsK0hzcEyHI , I've noticed that dlib is much more accurate, and even in my tests, gives a lot of fale positives (but doesn't miss any face), does anyone know how to use dlib within a Java web application (not android) ? I've already found a port to Android, but I don't thinkk it's possible to use it with in a java web application.
Thank you
I have used dlib myself, and yes it is a very advanced and precise library. There is no port in Java as far as I know. But you can always have it compiled to a shared library (.so in linux or .dll in Windows), and then use that inside your Java code.
More on using a dll or using an so in java
There is also an option to use the C++ library directly within Java, using proxies. You might want to look into that.
Edit : As per #evgeniy's comment, most of dlib is header-only templates. You will not be able to use those if you export dlib directly as a shared library. What you might want to do instead is to expose whatever APIs you need, see here
Edit 2 : As #davis-king's pointed out, you may want to look into using swig and cmake as is done in the mitie/dlib Java api : See here.
If you are looking for Android: https://github.com/tzutalin/dlib-android
Otherwise, this https://github.com/bytedeco/javacpp-presets/issues/49 looks like the most promising but still opened at the moment.
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 7 years ago.
Improve this question
I have a piece of java code I would like to run in my web browser and publish online. How can I do this without using applets? I have tried java vertx but I am not sure how to use it and there are no good tutorials online.
The short answer is you can't. Browsers don't "speak" Java natively, which is why applets required a plugin. As you probably know, Google is in the process of removing support for the plugin technology used by the Java plugin (NPAPI) and so soon Java won't work in Chrome at all (it already doesn't under Linux).
Your only real options are:
Provide a means of running it server-side, like http://ideone.com and various other "online" compilers do.
Translate it from Java to JavaScript (either manually or using a tool), which the browser can then run. But note that Java and JavaScript are not only markedly different languages despite a superficial similarity in syntax, but the standard environment for each is also quite different from the other.
How you do either of those is much too broad a question for SO.
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
I've been learning Java for the last 2 months with a Core Java book. Now I want to write something real, but at first I decided that I need to improve my knoweledge about algorithms and data sturctures so I'm currently reading a book on that.
I want to join an open-source project which is mature enough to learn from it but is still growing so I can really contribute to it. I browsed the whole apache and sourceforge looking for something interesting and the project I became really excited about is Apache Hadoop. Although it's quite complicated I don't think it's going to be a problem if I'm interested enough.
So the question is: does anybody here has expereince contributing to Hadoop? What can you say? Is there enough room for futrher development?
Yes, Hadoop has a whole ecosystem of projects to get associated with. Like HDFS, Hadoop Map-Reduce, Pig, Hive, Oozie etc. You might poke around using any of the VMs available like http://www.cloudera.com/downloads/
This will help you get acquainted with what all different projects are involved and thereafter you can contribute to make things better.
cheers
We certainly always welcome new contributors. Although it sounds trite, all open-source projects, Hadoop included, need improved documentation and tests. While this work may not be the sexiest, it does provide new contributors with experience in the code and the opportunity to provide useful patches that committers love to see. I'd caution against an anti-pattern I often see: announcing or signing up for too much work or suggesting too radical a change before establishing experience and credentials within the project.
There's always room for further development.
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 want to implement a simple wiki. Most probably will be using Java on Google app engine. I have been searching around for sample design or how others have implemented it, what issues they faced, how they solved it etc. But most search queries turned out to be useless as Google gave links to wikis discussing about programming instead of programming sites that discuss about wikis. Can anyone here direct me?
I found this link: http://everything2.com/?node_id=1683000 but honestly couldn't make head or tail out of it.
There's a discussion about Wiki design here (on this site):
Designing a Wiki, design considerations and feedback
Do you actually NEED to design your own wiki? Mediawiki is quite good and should have everything you need. Plus the installation instructions will get you running in 10-15 minutes.
Don't mean to question your motives, but if it's good enough for Wikipedia it's quite possibly good enough for you.
Here's a list of open source wikis written in Java - and here's another.
Depending on your needs it may be easier to customize one of the solutions available. For this task I found very useful checking wikimatrix.