[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do you organize your Java packages? Currently I have one

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 19
Thread images: 4

File: java.png (7KB, 259x259px) Image search: [Google]
java.png
7KB, 259x259px
How do you organize your Java packages?

Currently I have one package named after my company which contains 40+ class files
>>
>>60241061
>How do you organize your Java packages?
Right here.
>>
>>60241152
>recycle
>>
>>60241177
Not for you to recycle your erased data, if you know what I mean.
>>
>>60241152
Seriously this. Please let java die
>>
>>60241239
Seriously Java is still a good language
>>
>>60241250
Hating it without a good reason is popular
>>
File: 0aX26xm.gif (634KB, 460x258px) Image search: [Google]
0aX26xm.gif
634KB, 460x258px
I used to hate Java, and then I got a job as a Java developer.
There are many things that could have been way better in Java, but there are also great tools: annotations, reflection are two of them.
Stop hating on the JVM, and learn to love it.
>>
>>60241390
>reflection
>good
I mean it works, but it's generally better if you can use something else

I would say RMI is neater than reflection
also a good standard library in general, especially Collections
>>
>>60241061
if your Java application is properly modular, organizing the modules into separate packages shouldn't be a problem and come naturally
>>
>>60241390
>there are also great tool
>reflection

i don't even know if you're serious
try C# ffs
>>
>>60241390
wtf is reflection
>>
>>60241061
If you don't know how to do something as simple as organizing your code in packages then I shudder at the thought of the incredibly shitty spaghetti code you must conjure.
>>
File: Capture.png (58KB, 930x787px) Image search: [Google]
Capture.png
58KB, 930x787px
>>60242433
wtf is search
>>
>>60241258
Go to bed grandpa.
>>
>>60241390
how about gc
>>
>>60241390
Spring and dependance injection in java is awesome. Reflection is something i only use if i fucking have to. Anotation based frameworks are based, like lombok
>>
>>60244962
>Spring is awesome
yeah fucking around with XML sure is nice
>>
company
technology or classification (repeated as necessary)
Class

For example, at work we built some authentication libraries that we use in most of our projects, so our structure is:
company.security.authentication
Thread posts: 19
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.