Java User Group – Telegram
Java User Group
182 subscribers
123 photos
9 videos
21 files
179 links
Java world
Java EE/ Jakarta EE
Java SE / Java FX
Android / JVM Languages

News && Job Opportunities.

JUG Leader: Amir Reza Mohammadi @armp30
Download Telegram
Channel created
⁉️چرا برای پروژه های بزرگ از جاوا استفاده کنیم؟

بسیاری از شرکت های بزرگ جاوا رو ترجیح میدن چون پایداره و علاوه بر این قابلیت اطمینان Sun Microsystems و IBM رو داره ، پشتیبانی فنی آنلاین( که شامل ایران نمیشه ) و دارای فریم ورک های اپن سورسی مانند Hibrrnate ، Spring و ... می باشد.
هرچند نیازی به گفتن نیست که مانند بیشتر برند ها در بازار در نهایت شخص خودش تصمیم میگیره که برای پروژه بعدی خود از کدوم زبان ، دیتابیس و بستر استفاده کنه که همه ی نیاز هاشو برطرف کنه.

@iceCodeTeam
مطالب پایین نحوه استافده از JShell در jdk9 را نشان میدهد به صورتی که میتونید کد های جاوارو در یه فایل متنی بنویسید و با استفاده از JShell اجرا کنید.
@jDevelope
By now, most of you might have heard about JDK9 JShell. If you are not aware of it, please click here. In this article, I am going to use JShell to show you how to execute Java code like Unix noscript. 

Let me show you an example first and then go into details:

Open a file and save it with .txt by naming it as java_shell_code.txt

Write some Java code and execute the below command by passing the file name as an argument. You don't need to declare a class. Just write statements or create methods and enjoy functional programming.               

java ex.jshell.extension.JShellScriptExecutor ./java_shell_code.txt
@jDevelope
// java_shell_code.txt contents.

/* If you observe it does not need a class declaration.

Using the power of jshell,

we can write functions and call functions with out creating class,

just like functional programming */

// You can also include comments like above, anywhere in the noscript

String var1 = "Hello";

System.out.println(var1);

public int getInt1(){

return 2;

}

public int getInt2(){

return 4;

}

getInt1() + getInt2();

public class MyClass{

public void sayHelloWorld(){

System.out.println("HelloWorld");

}

}

new MyClass().sayHelloWorld()

@jDevelope
Output of the above noscript:

"Hello"

Hello

6

HelloWorld

@jDevelope
Forwarded from همفکر ارومیه | Hamfekr Urmia
animation.gif
124.4 KB
باید یاد بگیریم که دو حالت بیشتر وجود نداره:

۱. یا با همدیگه پیشرفت می‌کنیم
۲. یا بصورت انفرادی می‌پوسیم!

انتخاب هم دست خودمونه

پ.ن: هوا وقتی قشنگ می‌شه که همه ابرها با هم ببارن